Package com.mendix.workflows
Enum Class WorkflowSubProcessState
- All Implemented Interfaces:
Serializable,Comparable<WorkflowSubProcessState>,Constable
Representing the lifecycle states of a workflow sub-process.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionExecution of the sub-process was terminated, either because the workflow was aborted or due to an interrupting event.The sub-process reached its end event and finished successfully.Execution ended unsuccessfully because at least one activity within the sub-process failed.Sub-process has started and is currently running.The sub-process was paused because the workflow was paused. -
Method Summary
Modifier and TypeMethodDescriptiongetValue()Returns the string representation of the workflow sub-process state.static WorkflowSubProcessStateReturns the enum constant of this class with the specified name.static WorkflowSubProcessState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IN_PROGRESS
Sub-process has started and is currently running. Initial state. -
ABORTED
Execution of the sub-process was terminated, either because the workflow was aborted or due to an interrupting event. -
FAILED
Execution ended unsuccessfully because at least one activity within the sub-process failed. -
COMPLETED
The sub-process reached its end event and finished successfully. -
PAUSED
The sub-process was paused because the workflow was paused.
-
-
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 sub-process state.- Returns:
- the string representation
-