Package com.mendix.workflows
Enum Class WorkflowState
- All Implemented Interfaces:
Serializable
,Comparable<WorkflowState>
,Constable
Indicates the state of workflow.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum 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 Summary
Modifier and TypeMethodDescriptiongetValue()
Returns the string representation of the workflow state.static WorkflowState
Returns 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_PROGRESS
Initial state. -
COMPLETED
The terminal state indicates that the workflow is finished. -
PAUSED
The state after the admin pause the workflow. Unpausing brings it back toIN_PROGRESS
. -
ABORTED
The state after the admin abort the workflow. -
FAILED
The state after a failure occurred during execution of the workflow. -
INCOMPATIBLE
The state after introducing incompatible new version of the workflow with the current one or workflow definition is deleted.
-
-
Method Details
-
values
Returns 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
-
valueOf
Returns 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 nameNullPointerException
- if the argument is null
-
getValue
Returns the string representation of the workflow state.- Returns:
- the string representation of the workflow state
-