|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jbpm.workflow.instance.impl.NodeInstanceImpl
public abstract class NodeInstanceImpl
Default implementation of a RuleFlow node instance.
| Constructor Summary | |
|---|---|
NodeInstanceImpl()
|
|
| Method Summary | |
|---|---|
void |
cancel()
|
protected NodeInstance |
followConnection(Connection connection)
|
long |
getId()
The id of the node instance. |
Map<String,Object> |
getMetaData()
|
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. |
String |
getUniqueId()
|
Object |
getVariable(String variableName)
|
abstract void |
internalTrigger(NodeInstance from,
String type)
|
boolean |
isInversionOfControl()
|
Context |
resolveContext(String contextId,
Object param)
|
ContextInstance |
resolveContextInstance(String contextId,
Object param)
|
void |
setId(long id)
|
void |
setMetaData(String name,
Object data)
|
void |
setNodeId(long nodeId)
|
void |
setNodeInstanceContainer(NodeInstanceContainer nodeInstanceContainer)
|
void |
setProcessInstance(WorkflowProcessInstance processInstance)
|
void |
setVariable(String variableName,
Object value)
|
void |
trigger(NodeInstance from,
String type)
|
protected void |
triggerCompleted(String type,
boolean remove)
|
protected void |
triggerConnection(Connection connection)
|
protected void |
triggerNodeInstance(NodeInstance nodeInstance,
String type)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NodeInstanceImpl()
| Method Detail |
|---|
public void setId(long id)
public long getId()
NodeInstance
getId in interface NodeInstancepublic void setNodeId(long nodeId)
public long getNodeId()
NodeInstance
getNodeId in interface NodeInstancepublic String getNodeName()
NodeInstance
getNodeName in interface NodeInstancepublic void setProcessInstance(WorkflowProcessInstance processInstance)
public WorkflowProcessInstance getProcessInstance()
NodeInstance
getProcessInstance in interface NodeInstancepublic NodeInstanceContainer getNodeInstanceContainer()
NodeInstance
getNodeInstanceContainer in interface NodeInstancepublic void setNodeInstanceContainer(NodeInstanceContainer nodeInstanceContainer)
public Node getNode()
NodeInstance
getNode in interface NodeInstancepublic boolean isInversionOfControl()
public void cancel()
public final void trigger(NodeInstance from,
String type)
public abstract void internalTrigger(NodeInstance from,
String type)
protected void triggerCompleted(String type,
boolean remove)
protected NodeInstance followConnection(Connection connection)
protected void triggerNodeInstance(NodeInstance nodeInstance,
String type)
protected void triggerConnection(Connection connection)
public Context resolveContext(String contextId,
Object param)
public ContextInstance resolveContextInstance(String contextId,
Object param)
public Object getVariable(String variableName)
getVariable in interface NodeInstance
public void setVariable(String variableName,
Object value)
setVariable in interface NodeInstancepublic String getUniqueId()
public Map<String,Object> getMetaData()
public void setMetaData(String name,
Object data)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||