public abstract class WorkspaceEvent extends Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
idsAsGroup
optionl field, set to true if the idsToNotify are contexts, default is false
|
protected String[] |
idsToNotify
the username of the user you wish to notify
|
protected WorkspaceEventType |
TYPE |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getIdsToNotify() |
WorkspaceEventType |
getType() |
boolean |
idsAsGroup() |
void |
setIdsAsGroup(boolean idsAsGroup) |
void |
setIdsToNotify(String[] idsToNotify) |
protected final WorkspaceEventType TYPE
@NotNull(message="recipients cannot be missing, use usernames or contexts") protected String[] idsToNotify
@DefaultValue(value="false") protected boolean idsAsGroup
public WorkspaceEventType getType()
public String[] getIdsToNotify()
public void setIdsToNotify(String[] idsToNotify)
public boolean idsAsGroup()
public void setIdsAsGroup(boolean idsAsGroup)
idsAsGroup - set true whether the idsToNotify have to be interpreted as groups and not usernames, false otherwiseCopyright © 2022. All rights reserved.