Enum Class GraphNode.State
- All Implemented Interfaces:
Serializable
,Comparable<GraphNode.State>
,Constable
- Enclosing interface:
- GraphNode
The internal state of a node.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionNode is canceled.Node is ready.While executing input phase.While executing output phase.Task node is waiting for task to be done.Merge node is waiting for more incoming transitions. -
Method Summary
Modifier and TypeMethodDescriptionstatic GraphNode.State
fromString
(String s) Corresponding lifecycle state.Transition leading to this state.static GraphNode.State
Returns the enum constant of this class with the specified name.static GraphNode.State[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
READY
Node is ready. -
WAITING
Merge node is waiting for more incoming transitions. -
RUNNING_INPUT
While executing input phase. Not persisted. -
SUSPENDED
Task node is waiting for task to be done. -
CANCELED
Node is canceled. -
RUNNING_OUTPUT
While executing output phase. Not persisted.
-
-
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
-
getLifeCycleState
Corresponding lifecycle state. -
getTransition
Transition leading to this state. -
fromString
-