|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NodeInstance
A node instance represents the execution of one specific node in a process instance. Whenever a node is reached during the execution of a process instance, a node instance will be created. A node instance contains all the runtime state related to the execution of that node. Multiple node instances for the same node can coexist in the same process instance (if that node is to be executed multiple times in that process instance). A node instance is uniquely identified (within its node instance container!) by an id. Node instances can be nested, meaning that a node instance can be created as part of another node instance.
Method Summary | |
---|---|
long |
getId()
The id of the node instance. |
Node |
getNode()
Return the node this node instance refers to. |
long |
getNodeId()
The id of the node this node instance refers to. |
NodeInstanceContainer |
getNodeInstanceContainer()
The node instance container that this node instance is part of. |
String |
getNodeName()
The name of the node this node instance refers to. |
WorkflowProcessInstance |
getProcessInstance()
The process instance that this node instance is executing in. |
Object |
getVariable(String variableName)
|
void |
setVariable(String variableName,
Object value)
|
Method Detail |
---|
long getId()
long getNodeId()
Node getNode()
String getNodeName()
WorkflowProcessInstance getProcessInstance()
NodeInstanceContainer getNodeInstanceContainer()
Object getVariable(String variableName)
void setVariable(String variableName, Object value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |