public static enum GraphNode.State extends Enum<GraphNode.State>
Enum Constant and Description |
---|
READY
Node is ready.
|
RUNNING_INPUT
While executing input phase.
|
RUNNING_OUTPUT
While executing output phase.
|
SUSPENDED
Task node is waiting for task to be done.
|
WAITING
Merge node is waiting for more incoming transitions.
|
Modifier and Type | Method and Description |
---|---|
static GraphNode.State |
fromString(String s) |
String |
getLifeCycleState()
Corresponding lifecycle state.
|
String |
getTransition()
Transition leading to this state.
|
static GraphNode.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GraphNode.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GraphNode.State READY
public static final GraphNode.State WAITING
public static final GraphNode.State RUNNING_INPUT
public static final GraphNode.State SUSPENDED
public static final GraphNode.State RUNNING_OUTPUT
public static GraphNode.State[] values()
for (GraphNode.State c : GraphNode.State.values()) System.out.println(c);
public static GraphNode.State valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String getLifeCycleState()
public String getTransition()
public static GraphNode.State fromString(String s)
Copyright © 2015 Nuxeo SA. All rights reserved.