Package com.mendix.workflows
Enum Class WorkflowState
- All Implemented Interfaces:
- Serializable,- Comparable<WorkflowState>,- Constable
Indicates the state of workflow.
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionThe state after the admin abort the workflow.The terminal state indicates that the workflow is finished.The state after a failure occurred during execution of the workflow.Initial state.The state after introducing incompatible new version of the workflow with the current one or workflow definition is deleted.The state after the admin pause the workflow.
- 
Method SummaryModifier and TypeMethodDescriptiongetValue()Returns the string representation of the workflow state.static WorkflowStateReturns the enum constant of this class with the specified name.static WorkflowState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
IN_PROGRESSInitial state.
- 
COMPLETEDThe terminal state indicates that the workflow is finished.
- 
PAUSEDThe state after the admin pause the workflow. Unpausing brings it back toIN_PROGRESS.
- 
ABORTEDThe state after the admin abort the workflow.
- 
FAILEDThe state after a failure occurred during execution of the workflow.
- 
INCOMPATIBLEThe state after introducing incompatible new version of the workflow with the current one or workflow definition is deleted.
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
getValueReturns the string representation of the workflow state.- Returns:
- the string representation of the workflow state
 
 
-