Enum ProcessConstants.NodeState
- java.lang.Object
-
- java.lang.Enum<ProcessConstants.NodeState>
-
- de.aristaflow.adept2.model.globals.ProcessConstants.NodeState
-
- All Implemented Interfaces:
Serializable
,Comparable<ProcessConstants.NodeState>
- Enclosing class:
- ProcessConstants
public static enum ProcessConstants.NodeState extends Enum<ProcessConstants.NodeState>
The node states
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NS_ACTIVATED
node state 'activated'NS_ACTIVATED_SUPPR
Node state 'activated suppressed'.NS_COMPLETED
node state 'completed'NS_ENQUIRED
node state 'enquired'NS_FAILED
node state 'failed'NS_NOT_ACTIVATED
node state 'not activated'NS_RUNNING
node state 'running'NS_SELECTED
node state 'selected'NS_SELECTED_SUPPR
Node state 'selected suppressed'.NS_SKIPPED
node state 'skipped'NS_SUSPENDED
node state 'suspended'NS_SUSPENDED_SUPPR
Node state 'suspended suppressed'.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ProcessConstants.NodeState[]
getAll()
Deprecated.Usevalues()
instead.int
getCode()
static ProcessConstants.NodeState
valueOf(int code)
Returns the enum constant of this type with the specified name.static ProcessConstants.NodeState
valueOf(String name)
Returns the enum constant of this type with the specified name.static ProcessConstants.NodeState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NS_NOT_ACTIVATED
public static final ProcessConstants.NodeState NS_NOT_ACTIVATED
node state 'not activated'
-
NS_ACTIVATED
public static final ProcessConstants.NodeState NS_ACTIVATED
node state 'activated'
-
NS_SELECTED
public static final ProcessConstants.NodeState NS_SELECTED
node state 'selected'
-
NS_RUNNING
public static final ProcessConstants.NodeState NS_RUNNING
node state 'running'
-
NS_SUSPENDED
public static final ProcessConstants.NodeState NS_SUSPENDED
node state 'suspended'
-
NS_ENQUIRED
public static final ProcessConstants.NodeState NS_ENQUIRED
node state 'enquired'
-
NS_COMPLETED
public static final ProcessConstants.NodeState NS_COMPLETED
node state 'completed'
-
NS_FAILED
public static final ProcessConstants.NodeState NS_FAILED
node state 'failed'
-
NS_SKIPPED
public static final ProcessConstants.NodeState NS_SKIPPED
node state 'skipped'
-
NS_ACTIVATED_SUPPR
public static final ProcessConstants.NodeState NS_ACTIVATED_SUPPR
Node state 'activated suppressed'.
-
NS_SELECTED_SUPPR
public static final ProcessConstants.NodeState NS_SELECTED_SUPPR
Node state 'selected suppressed'.
-
NS_SUSPENDED_SUPPR
public static final ProcessConstants.NodeState NS_SUSPENDED_SUPPR
Node state 'suspended suppressed'.
-
-
Method Detail
-
values
public static ProcessConstants.NodeState[] 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 (ProcessConstants.NodeState c : ProcessConstants.NodeState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProcessConstants.NodeState 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
-
getCode
public int getCode()
-
valueOf
public static ProcessConstants.NodeState valueOf(int code)
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:
code
- 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
-
getAll
@Deprecated public static ProcessConstants.NodeState[] getAll()
Deprecated.Usevalues()
instead.Gets all node states in an array.- Returns:
- All node states in an array.
-
-