| Modifier and Type | Field and Description |
|---|---|
static UserTask.CompletionStrategy |
ALL_WORK_ITEMS_ACCEPTED
Terminates the current task when all work items have been accepted.
|
static UserTask.CompletionStrategy |
ALL_WORK_ITEMS_ACCEPTED_BUT_ONE
Terminates current task when all work items except one have been accepted.
|
static UserTask.CompletionStrategy |
ALL_WORK_ITEMS_ACCEPTED_OR_ANY_REJECTED
Terminates current task either when all work items have been accepted, or as soon as one work item has been
rejected.
|
static UserTask.CompletionStrategy |
ALL_WORK_ITEMS_COMPLETED
Terminates current task when all work items have been either accepted or rejected.
|
static UserTask.CompletionStrategy |
ANY_WORK_ITEM_ACCEPTED
Terminates current task as soon as one work item has been accepted.
|
static UserTask.CompletionStrategy |
AT_LEAST_HALF_WORK_ITEMS_ACCEPTED
Terminates current task as soon as half of the work items have been accepted.
|
static Set<UserTask.CompletionStrategy> |
IGNORE_REJECT_STRATEGIES |
| Modifier and Type | Method and Description |
|---|---|
String |
format()
Returns a persistent identifier of this header.
|
static UserTask.CompletionStrategy |
getDefaultStrategy()
Returns the default task termination criteria.
|
UserMessage |
getLabel()
Returns the label associated with the task termination criteria.
|
static UserTask.CompletionStrategy |
parse(String flag)
Returns the
CompletionStrategy for the specified string. |
String |
toString() |
public static final Set<UserTask.CompletionStrategy> IGNORE_REJECT_STRATEGIES
public static final UserTask.CompletionStrategy ALL_WORK_ITEMS_ACCEPTED
public static final UserTask.CompletionStrategy ANY_WORK_ITEM_ACCEPTED
public static final UserTask.CompletionStrategy ALL_WORK_ITEMS_ACCEPTED_BUT_ONE
public static final UserTask.CompletionStrategy AT_LEAST_HALF_WORK_ITEMS_ACCEPTED
public static final UserTask.CompletionStrategy ALL_WORK_ITEMS_COMPLETED
public static final UserTask.CompletionStrategy ALL_WORK_ITEMS_ACCEPTED_OR_ANY_REJECTED
public static UserTask.CompletionStrategy parse(String flag)
CompletionStrategy for the specified string.
The parameter has to have been generated by format().
format()public static UserTask.CompletionStrategy getDefaultStrategy()
public final String format()
parse(String)public UserMessage getLabel()