Enum WorkflowInstanceAction.WorkflowActionType
- java.lang.Object
-
- java.lang.Enum<WorkflowInstanceAction.WorkflowActionType>
-
- io.nflow.engine.workflow.instance.WorkflowInstanceAction.WorkflowActionType
-
- All Implemented Interfaces:
Serializable,Comparable<WorkflowInstanceAction.WorkflowActionType>
- Enclosing class:
- WorkflowInstanceAction
public static enum WorkflowInstanceAction.WorkflowActionType extends Enum<WorkflowInstanceAction.WorkflowActionType>
Describes the trigger for the action.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description externalChangeExternal change to the workflow instance.recoveryDead executor recovery.stateExecutionNormal state execution.stateExecutionFailedNormal state execution that resulted in failure.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WorkflowInstanceAction.WorkflowActionTypevalueOf(String name)Returns the enum constant of this type with the specified name.static WorkflowInstanceAction.WorkflowActionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
stateExecution
public static final WorkflowInstanceAction.WorkflowActionType stateExecution
Normal state execution.
-
stateExecutionFailed
public static final WorkflowInstanceAction.WorkflowActionType stateExecutionFailed
Normal state execution that resulted in failure.
-
externalChange
public static final WorkflowInstanceAction.WorkflowActionType externalChange
External change to the workflow instance.
-
recovery
public static final WorkflowInstanceAction.WorkflowActionType recovery
Dead executor recovery.
-
-
Method Detail
-
values
public static WorkflowInstanceAction.WorkflowActionType[] 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 (WorkflowInstanceAction.WorkflowActionType c : WorkflowInstanceAction.WorkflowActionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WorkflowInstanceAction.WorkflowActionType 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
-
-