Enum WorkflowInstance.WorkflowInstanceStatus
- java.lang.Object
-
- java.lang.Enum<WorkflowInstance.WorkflowInstanceStatus>
-
- io.nflow.engine.workflow.instance.WorkflowInstance.WorkflowInstanceStatus
-
- All Implemented Interfaces:
Serializable,Comparable<WorkflowInstance.WorkflowInstanceStatus>
- Enclosing class:
- WorkflowInstance
public static enum WorkflowInstance.WorkflowInstanceStatus extends Enum<WorkflowInstance.WorkflowInstanceStatus>
Describes the status for workflow instance.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description createdWorkflow instance has been created but the processing has not been started yetexecutingA workflow state method is executingfinishedWorkflow instance has reached an end stateinProgressWorkflow instance processing has been startedmanualWorkflow instance is waiting for manual action
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WorkflowInstance.WorkflowInstanceStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static WorkflowInstance.WorkflowInstanceStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
created
public static final WorkflowInstance.WorkflowInstanceStatus created
Workflow instance has been created but the processing has not been started yet
-
inProgress
public static final WorkflowInstance.WorkflowInstanceStatus inProgress
Workflow instance processing has been started
-
finished
public static final WorkflowInstance.WorkflowInstanceStatus finished
Workflow instance has reached an end state
-
manual
public static final WorkflowInstance.WorkflowInstanceStatus manual
Workflow instance is waiting for manual action
-
executing
public static final WorkflowInstance.WorkflowInstanceStatus executing
A workflow state method is executing
-
-
Method Detail
-
values
public static WorkflowInstance.WorkflowInstanceStatus[] 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 (WorkflowInstance.WorkflowInstanceStatus c : WorkflowInstance.WorkflowInstanceStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WorkflowInstance.WorkflowInstanceStatus 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
-
-