Enum WorklistConstants.WorklistItemState
- java.lang.Object
-
- java.lang.Enum<WorklistConstants.WorklistItemState>
-
- de.aristaflow.adept2.model.globals.WorklistConstants.WorklistItemState
-
- All Implemented Interfaces:
Serializable
,Comparable<WorklistConstants.WorklistItemState>
- Enclosing class:
- WorklistConstants
public static enum WorklistConstants.WorklistItemState extends Enum<WorklistConstants.WorklistItemState>
The state of a worklist item.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASSIGNED
The item has been assigned or accepted (only to be started by one user).AVAILABLE
The item is available for execution (users may accept/assign the item, or directly start it).ENQUIRED
The item has been finished, but an enquiry is still open with an unread reply.STARTED
The item has been started.SUSPENDED
The item has been suspended and will be resumed later.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WorklistConstants.WorklistItemState
valueOf(String name)
Returns the enum constant of this type with the specified name.static WorklistConstants.WorklistItemState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AVAILABLE
public static final WorklistConstants.WorklistItemState AVAILABLE
The item is available for execution (users may accept/assign the item, or directly start it). Corresponds to de.aristaflow.adept2.base.globals.ProcessConstants.NodeState#NS_ACTIVATED
-
ASSIGNED
public static final WorklistConstants.WorklistItemState ASSIGNED
The item has been assigned or accepted (only to be started by one user). Corresponds to de.aristaflow.adept2.base.globals.ProcessConstants.NodeState#NS_SELECTED
-
STARTED
public static final WorklistConstants.WorklistItemState STARTED
The item has been started. Corresponds to de.aristaflow.adept2.base.globals.ProcessConstants.NodeState#NS_RUNNING
-
SUSPENDED
public static final WorklistConstants.WorklistItemState SUSPENDED
The item has been suspended and will be resumed later. Corresponds to de.aristaflow.adept2.base.globals.ProcessConstants.NodeState#NS_SUSPENDED
-
ENQUIRED
public static final WorklistConstants.WorklistItemState ENQUIRED
The item has been finished, but an enquiry is still open with an unread reply. Corresponds to de.aristaflow.adept2.base.globals.ProcessConstants.NodeState#NS_ENQUIRED An item in this state may neither be delegated nor be subject of a substitution rule since the item is just for information purpose for the initiator of non- replied enquiries for already finished process steps.
-
-
Method Detail
-
values
public static WorklistConstants.WorklistItemState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (WorklistConstants.WorklistItemState c : WorklistConstants.WorklistItemState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WorklistConstants.WorklistItemState valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-