public enum LogicalNodeStatus extends Enum<LogicalNodeStatus>
LogicalNode
states.Enum Constant and Description |
---|
EXECUTE
Indicates that the node is awaiting an
ExecuteAckEvent from clients. |
FAILED
Indicates that the node has failed to complete successfully.
|
FINISHED
Indicates that the node has completed successfully.
|
PENDING_DEPENDENCY
Indicates that the node is pending execution on unmet dependencies.
|
PENDING_EXECUTE
Indicates that the node is pending execution.
|
PREPARE
Indicates that the node is awaiting a
ControlEvent.ControlEventType.PREPARE_ACK from clients. |
RESOURCE
Indicates that the node is awaiting a
ControlEvent.ControlEventType.RESOURCE_ACK from clients. |
Modifier and Type | Field and Description |
---|---|
protected static EnumSet<LogicalNodeStatus> |
executableSet
The
EnumSet of executable states. |
protected static EnumSet<LogicalNodeStatus> |
executingSet
The
EnumSet of executing states. |
protected static EnumSet<LogicalNodeStatus> |
finishedSet
The
EnumSet of finished states. |
protected static EnumSet<LogicalNodeStatus> |
mergeableSet
The
EnumSet of mergeable states used in bookkeeping for subflow embedding. |
Modifier and Type | Method and Description |
---|---|
boolean |
isExecutable()
Gets whether the computation is eligible for execution.
|
boolean |
isExecuting()
Gets whether the computation is executing.
|
boolean |
isFinished()
Gets whether the computation is finished.
|
boolean |
isMergeable()
Gets whether the computation can be merged with another for the purposes of subflow embedding.
|
static LogicalNodeStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogicalNodeStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogicalNodeStatus PENDING_DEPENDENCY
public static final LogicalNodeStatus PENDING_EXECUTE
public static final LogicalNodeStatus RESOURCE
ControlEvent.ControlEventType.RESOURCE_ACK
from clients.public static final LogicalNodeStatus PREPARE
ControlEvent.ControlEventType.PREPARE_ACK
from clients.public static final LogicalNodeStatus EXECUTE
ExecuteAckEvent
from clients.public static final LogicalNodeStatus FINISHED
public static final LogicalNodeStatus FAILED
protected static final EnumSet<LogicalNodeStatus> executableSet
EnumSet
of executable states.protected static final EnumSet<LogicalNodeStatus> executingSet
EnumSet
of executing states.protected static final EnumSet<LogicalNodeStatus> finishedSet
EnumSet
of finished states.protected static final EnumSet<LogicalNodeStatus> mergeableSet
EnumSet
of mergeable states used in bookkeeping for subflow embedding.public static LogicalNodeStatus[] values()
for (LogicalNodeStatus c : LogicalNodeStatus.values()) System.out.println(c);
public static LogicalNodeStatus 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 boolean isExecutable()
public boolean isExecuting()
public boolean isFinished()
public boolean isMergeable()