Package com.mendix.workflows
Enum Class WorkflowActivityExecutionState
- All Implemented Interfaces:
Serializable
,Comparable<WorkflowActivityExecutionState>
,Constable
Represents the execution state of a workflow activity.
-
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 workflow activity was aborted.The terminal state indicates that the workflow activity finished successfully.Initial state.The state after a failure occurred during the execution of the workflow activity.The state after the workflow activity is suspended and awaiting input.The state after the workflow activity has been paused. -
Method Summary
Modifier and TypeMethodDescriptiongetValue()
Returns the string representation of the workflow activity execution state.Returns the enum constant of this class with the specified name.static WorkflowActivityExecutionState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CREATED
Initial state. -
IN_PROGRESS
The state after the workflow activity is suspended and awaiting input. -
PAUSED
The state after the workflow activity has been paused. -
COMPLETED
The terminal state indicates that the workflow activity finished successfully. -
ABORTED
The state after the workflow activity was aborted. -
FAILED
The state after a failure occurred during the execution of the workflow activity.
-
-
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 activity execution state.- Returns:
- the string representation
-