|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NodeContainerExecutionStatus
Status of a finished execution of a node. This information consists currently of a success flag and status information for all of the node's children (if it is a meta node).
For the standard execution (local thread execution), this is either
FAILURE
or SUCCESS
. This interface becomes necessary
(over a simple use of a success flag) to represent the execution status of
a remotely executed meta-node.
Field Summary | |
---|---|
static NodeContainerExecutionStatus |
FAILURE
Represents a failed execution. |
static NodeContainerExecutionStatus |
SUCCESS
Represents a successful execution. |
Method Summary | |
---|---|
NodeContainerExecutionStatus |
getChildStatus(int idSuffix)
Query the execution status for a child given its node id suffix. |
boolean |
isSuccess()
Whether the execution was successful. |
Field Detail |
---|
static final NodeContainerExecutionStatus FAILURE
static final NodeContainerExecutionStatus SUCCESS
Method Detail |
---|
boolean isSuccess()
SingleNodeContainer
, a successful execution brings the node into
the NodeContainer.State.EXECUTED
state, otherwise into NodeContainer.State.IDLE
. If
this object represents an execution status of a meta node, this method
is typically ignored and the state is determined based on the internals
of the meta node.
NodeContainerExecutionStatus getChildStatus(int idSuffix)
FAILURE
.
idSuffix
- The child id suffix
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |