public enum UserNotification extends Enum<UserNotification>
This class enumerates the different notification options a user can subscribe to.
| Enum Constant and Description |
|---|
NOTIFY_ASSIGNEE_WORK_ITEM_MODIFIED
As the assignee of the work item, receive notification when the work item is modified.
|
NOTIFY_NEW_ASSIGNEE_OF_WORK_ITEM
Receive notification when the user becomes the new assignee of the work item.
|
NOTIFY_NEW_CANDIDATE_ASSIGNEE_OF_WORK_ITEM
Receive notification when the user becomes the potential assignee of the work item.
|
NOTIFY_OWNER_WORK_ITEM_MODIFIED
As the owner of the work item, receive notification when the work item is modified.
|
| Modifier and Type | Method and Description |
|---|---|
static UserNotification |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserNotification[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserNotification NOTIFY_OWNER_WORK_ITEM_MODIFIED
As the owner of the work item, receive notification when the work item is modified.
public static final UserNotification NOTIFY_ASSIGNEE_WORK_ITEM_MODIFIED
As the assignee of the work item, receive notification when the work item is modified.
public static final UserNotification NOTIFY_NEW_ASSIGNEE_OF_WORK_ITEM
Receive notification when the user becomes the new assignee of the work item.
public static final UserNotification NOTIFY_NEW_CANDIDATE_ASSIGNEE_OF_WORK_ITEM
Receive notification when the user becomes the potential assignee of the work item.
This typically happens when a work item is unassigned, and the user is in one or more of the work item’s candidate groups.
public static UserNotification[] values()
for (UserNotification c : UserNotification.values()) System.out.println(c);
public static UserNotification valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.