public class ForEachNode extends CompositeContextNode
Modifier and Type | Class and Description |
---|---|
class |
ForEachNode.ForEachJoinNode |
class |
ForEachNode.ForEachSplitNode |
CompositeNode.CompositeNodeEnd, CompositeNode.CompositeNodeStart, CompositeNode.NodeAndType
EVENT_NODE_ENTER, EVENT_NODE_EXIT
constraints, EMPTY_NODE_ARRAY
CONNECTION_DEFAULT_TYPE
Constructor and Description |
---|
ForEachNode() |
Modifier and Type | Method and Description |
---|---|
void |
addContext(Context context) |
void |
addNode(org.kie.api.definition.process.Node node)
Method for adding a node to this node container.
|
String |
getCollectionExpression() |
String |
getCompletionConditionExpression() |
CompositeContextNode |
getCompositeNode() |
Context |
getContext(String contextType) |
Context |
getContext(String contextType,
long id) |
List<Context> |
getContexts(String contextType) |
ForEachNode.ForEachJoinNode |
getForEachJoinNode() |
ForEachNode.ForEachSplitNode |
getForEachSplitNode() |
CompositeNode.NodeAndType |
getLinkedIncomingNode(String inType) |
CompositeNode.NodeAndType |
getLinkedOutgoingNode(String inType) |
org.kie.api.definition.process.Node |
getNode(long id) |
org.kie.api.definition.process.Node[] |
getNodes() |
String |
getOutputCollectionExpression() |
String |
getOutputVariableName() |
org.drools.core.process.core.datatype.DataType |
getOutputVariableType() |
String |
getVariableName() |
org.drools.core.process.core.datatype.DataType |
getVariableType() |
protected void |
internalAddNode(org.kie.api.definition.process.Node node) |
CompositeNode.NodeAndType |
internalGetLinkedIncomingNode(String inType) |
CompositeNode.NodeAndType |
internalGetLinkedOutgoingNode(String inType) |
org.kie.api.definition.process.Node |
internalGetNode(long id) |
org.kie.api.definition.process.Node[] |
internalGetNodes() |
protected void |
internalRemoveNode(org.kie.api.definition.process.Node node) |
boolean |
isWaitForCompletion() |
void |
linkIncomingConnections(String inType,
long inNodeId,
String inNodeType) |
void |
linkOutgoingConnections(long outNodeId,
String outNodeType,
String outType) |
void |
removeNode(org.kie.api.definition.process.Node node)
Method for removing a node from this node container
|
void |
setCollectionExpression(String collectionExpression) |
void |
setCompletionConditionExpression(String completionConditionExpression) |
void |
setDefaultContext(Context context) |
void |
setOutputCollectionExpression(String collectionExpression) |
void |
setOutputVariable(String variableName,
org.drools.core.process.core.datatype.DataType type) |
void |
setVariable(String variableName,
org.drools.core.process.core.datatype.DataType type) |
void |
setWaitForCompletion(boolean waitForCompletion) |
getDefaultContext, resolveContext
acceptsEvent, addIncomingConnection, addOutgoingConnection, getLinkedIncomingNodes, getLinkedOutgoingNodes, isCancelRemainingInstances, linkIncomingConnections, linkOutgoingConnections, removeIncomingConnection, removeOutgoingConnection, setCancelRemainingInstances, validateAddIncomingConnection, validateAddOutgoingConnection, validateRemoveIncomingConnection, validateRemoveOutgoingConnection
addBoundaryEvents, addTimer, getBoundaryEvents, getTimers, removeAllTimers, setBoundaryEvents
containsActions, getActions, getActionTypes, setActions
addConstraint, clearIncomingConnection, clearOutgoingConnection, getConstraint, getConstraints, getDefaultIncomingConnections, getDefaultOutgoingConnections, getFrom, getId, getIncomingConnections, getIncomingConnections, getMetaData, getMetaData, getName, getNodeContainer, getOutgoingConnections, getOutgoingConnections, getTo, getUniqueId, internalGetConstraint, setConstraint, setContext, setId, setMetaData, setMetaData, setName, setNodeContainer
public String getVariableName()
public org.drools.core.process.core.datatype.DataType getVariableType()
public String getOutputVariableName()
public org.drools.core.process.core.datatype.DataType getOutputVariableType()
public CompositeContextNode getCompositeNode()
public ForEachNode.ForEachSplitNode getForEachSplitNode()
public ForEachNode.ForEachJoinNode getForEachJoinNode()
public void addNode(org.kie.api.definition.process.Node node)
NodeContainer
addNode
in class CompositeNode
node
- the node to be addedprotected void internalAddNode(org.kie.api.definition.process.Node node)
internalAddNode
in class CompositeNode
public org.kie.api.definition.process.Node getNode(long id)
getNode
in interface org.kie.api.definition.process.NodeContainer
getNode
in class CompositeNode
public org.kie.api.definition.process.Node internalGetNode(long id)
internalGetNode
in class CompositeNode
public org.kie.api.definition.process.Node[] getNodes()
getNodes
in interface org.kie.api.definition.process.NodeContainer
getNodes
in class CompositeNode
public org.kie.api.definition.process.Node[] internalGetNodes()
internalGetNodes
in class CompositeNode
public void removeNode(org.kie.api.definition.process.Node node)
NodeContainer
removeNode
in class CompositeNode
node
- the node to be removedprotected void internalRemoveNode(org.kie.api.definition.process.Node node)
internalRemoveNode
in class CompositeNode
public void linkIncomingConnections(String inType, long inNodeId, String inNodeType)
linkIncomingConnections
in class CompositeNode
public void linkOutgoingConnections(long outNodeId, String outNodeType, String outType)
linkOutgoingConnections
in class CompositeNode
public CompositeNode.NodeAndType getLinkedIncomingNode(String inType)
getLinkedIncomingNode
in class CompositeNode
public CompositeNode.NodeAndType internalGetLinkedIncomingNode(String inType)
internalGetLinkedIncomingNode
in class CompositeNode
public CompositeNode.NodeAndType getLinkedOutgoingNode(String inType)
getLinkedOutgoingNode
in class CompositeNode
public CompositeNode.NodeAndType internalGetLinkedOutgoingNode(String inType)
internalGetLinkedOutgoingNode
in class CompositeNode
public void setVariable(String variableName, org.drools.core.process.core.datatype.DataType type)
public void setOutputVariable(String variableName, org.drools.core.process.core.datatype.DataType type)
public String getCollectionExpression()
public void setCollectionExpression(String collectionExpression)
public String getOutputCollectionExpression()
public void setOutputCollectionExpression(String collectionExpression)
public boolean isWaitForCompletion()
public void setWaitForCompletion(boolean waitForCompletion)
public Context getContext(String contextType)
getContext
in interface Contextable
getContext
in class NodeImpl
public void addContext(Context context)
addContext
in interface ContextContainer
addContext
in class CompositeContextNode
public void setDefaultContext(Context context)
setDefaultContext
in interface ContextContainer
setDefaultContext
in class CompositeContextNode
public List<Context> getContexts(String contextType)
getContexts
in interface ContextContainer
getContexts
in class CompositeContextNode
public Context getContext(String contextType, long id)
getContext
in interface ContextContainer
getContext
in class CompositeContextNode
public String getCompletionConditionExpression()
public void setCompletionConditionExpression(String completionConditionExpression)
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.