Package io.nflow.engine.service
Enum WorkflowInstanceInclude
- java.lang.Object
-
- java.lang.Enum<WorkflowInstanceInclude>
-
- io.nflow.engine.service.WorkflowInstanceInclude
-
- All Implemented Interfaces:
Serializable,Comparable<WorkflowInstanceInclude>
public enum WorkflowInstanceInclude extends Enum<WorkflowInstanceInclude>
The properties of a workflow instance that can be loaded if needed when using WorkflowInstanceService.getWorkflowInstance.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTION_STATE_VARIABLESThe state variables for each action.ACTIONSThe actions related to this workflow instance (WorkflowInstance.actions).CHILD_WORKFLOW_IDSThe child workflow identifiers (WorkflowInstance.childWorkflows).CURRENT_STATE_VARIABLESThe most recent values of all state variables (WorkflowInstance.stateVariables).
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WorkflowInstanceIncludevalueOf(String name)Returns the enum constant of this type with the specified name.static WorkflowInstanceInclude[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CURRENT_STATE_VARIABLES
public static final WorkflowInstanceInclude CURRENT_STATE_VARIABLES
The most recent values of all state variables (WorkflowInstance.stateVariables).
-
CHILD_WORKFLOW_IDS
public static final WorkflowInstanceInclude CHILD_WORKFLOW_IDS
The child workflow identifiers (WorkflowInstance.childWorkflows).
-
ACTIONS
public static final WorkflowInstanceInclude ACTIONS
The actions related to this workflow instance (WorkflowInstance.actions).
-
ACTION_STATE_VARIABLES
public static final WorkflowInstanceInclude ACTION_STATE_VARIABLES
The state variables for each action. Ignored if ACTIONS are not loaded (WorkflowInstanceAction.updatedStateVariables).
-
-
Method Detail
-
values
public static WorkflowInstanceInclude[] 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 (WorkflowInstanceInclude c : WorkflowInstanceInclude.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WorkflowInstanceInclude 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
-
-