Package org.jbpm.workflow.core
Interface NodeContainer
-
- All Superinterfaces:
org.kie.api.definition.process.NodeContainer
- All Known Subinterfaces:
WorkflowProcess
- All Known Implementing Classes:
CompositeContextNode,CompositeNode,DynamicNode,EventSubProcessNode,ForEachNode,NodeContainerImpl,RuleFlowProcess,StateNode,WorkflowProcessImpl
public interface NodeContainer extends org.kie.api.definition.process.NodeContainer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddNode(org.kie.api.definition.process.Node node)Method for adding a node to this node container.org.kie.api.definition.process.NodeinternalGetNode(long id)voidremoveNode(org.kie.api.definition.process.Node node)Method for removing a node from this node containerContextresolveContext(String contextId, Object param)
-
-
-
Method Detail
-
addNode
void addNode(org.kie.api.definition.process.Node node)
Method for adding a node to this node container. Note that the node will get an id unique for this node container.- Parameters:
node- the node to be added- Throws:
IllegalArgumentException- ifnodeis null
-
removeNode
void removeNode(org.kie.api.definition.process.Node node)
Method for removing a node from this node container- Parameters:
node- the node to be removed- Throws:
IllegalArgumentException- ifnodeis null or unknown
-
internalGetNode
org.kie.api.definition.process.Node internalGetNode(long id)
-
-