Added ability to have a Publication error with NO published object
parent
a0fc9f9bc3
commit
62af62e305
|
@ -103,6 +103,13 @@ class PublicationError {
|
|||
return this.publishedObjects;
|
||||
}
|
||||
|
||||
public
|
||||
PublicationError setNoPublishedObject() {
|
||||
this.publishedObjects = new Object[0];
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
public
|
||||
PublicationError setPublishedObject(Object publishedObject) {
|
||||
this.publishedObjects = new Object[1];
|
||||
|
|
Loading…
Reference in New Issue