Package org.jbpm.workflow.core.node
Class CompositeContextNode
- java.lang.Object
-
- org.jbpm.workflow.core.impl.NodeImpl
-
- org.jbpm.workflow.core.impl.ExtendedNodeImpl
-
- org.jbpm.workflow.core.node.StateBasedNode
-
- org.jbpm.workflow.core.node.CompositeNode
-
- org.jbpm.workflow.core.node.CompositeContextNode
-
- All Implemented Interfaces:
Serializable,Contextable,ContextContainer,ContextResolver,Node,EventNodeInterface,NodeContainer,org.kie.api.definition.process.Node,org.kie.api.definition.process.NodeContainer
- Direct Known Subclasses:
DynamicNode,EventSubProcessNode,ForEachNode,StateNode
public class CompositeContextNode extends CompositeNode implements ContextContainer
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jbpm.workflow.core.node.CompositeNode
CompositeNode.CompositeNodeEnd, CompositeNode.CompositeNodeStart, CompositeNode.NodeAndType
-
-
Field Summary
-
Fields inherited from class org.jbpm.workflow.core.impl.ExtendedNodeImpl
EVENT_NODE_BOUNDARY, EVENT_NODE_ENTER, EVENT_NODE_EXIT
-
Fields inherited from class org.jbpm.workflow.core.impl.NodeImpl
constraints, EMPTY_NODE_ARRAY
-
Fields inherited from interface org.jbpm.workflow.core.Node
CONNECTION_DEFAULT_TYPE
-
-
Constructor Summary
Constructors Modifier Constructor Description CompositeContextNode()protectedCompositeContextNode(org.kie.api.definition.process.NodeType nodeType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddContext(Context context)ContextgetContext(String contextType, long id)List<Context>getContexts(String contextType)ContextgetDefaultContext(String contextType)ContextresolveContext(String contextId, Object param)voidsetDefaultContext(Context context)-
Methods inherited from class org.jbpm.workflow.core.node.CompositeNode
acceptsEvent, acceptsEvent, addIncomingConnection, addNode, addOutgoingConnection, getLinkedIncomingNode, getLinkedIncomingNodes, getLinkedOutgoingNode, getLinkedOutgoingNodes, getNode, getNodeByUniqueId, getNodes, internalAddNode, internalGetLinkedIncomingNode, internalGetLinkedOutgoingNode, internalGetNode, internalGetNodes, internalRemoveNode, isAutoComplete, isCancelRemainingInstances, linkIncomingConnections, linkIncomingConnections, linkOutgoingConnections, linkOutgoingConnections, removeIncomingConnection, removeNode, removeOutgoingConnection, setAutoComplete, setCancelRemainingInstances, validateAddIncomingConnection, validateAddOutgoingConnection, validateRemoveIncomingConnection, validateRemoveOutgoingConnection
-
Methods inherited from class org.jbpm.workflow.core.node.StateBasedNode
addBoundaryEvents, addTimer, getBoundaryEvents, getTimers, removeAllTimers, setBoundaryEvents
-
Methods inherited from class org.jbpm.workflow.core.impl.ExtendedNodeImpl
containsActions, getActions, getActionTypes, setActions
-
Methods inherited from class org.jbpm.workflow.core.impl.NodeImpl
addConstraint, clearIncomingConnection, clearOutgoingConnection, getConstraint, getConstraints, getContext, getDefaultIncomingConnections, getDefaultOutgoingConnections, getFrom, getId, getIncomingConnections, getIncomingConnections, getMetaData, getMetaData, getName, getNodeContainer, getNodeType, getNodeUniqueId, getOutgoingConnections, getOutgoingConnections, getTo, getUniqueId, internalGetConstraint, setConstraint, setContext, setId, setMetaData, setMetaData, setName, setNodeContainer, setNodeType
-
-
-
-
Method Detail
-
getContexts
public List<Context> getContexts(String contextType)
- Specified by:
getContextsin interfaceContextContainer
-
addContext
public void addContext(Context context)
- Specified by:
addContextin interfaceContextContainer
-
getContext
public Context getContext(String contextType, long id)
- Specified by:
getContextin interfaceContextContainer
-
setDefaultContext
public void setDefaultContext(Context context)
- Specified by:
setDefaultContextin interfaceContextContainer
-
getDefaultContext
public Context getDefaultContext(String contextType)
- Specified by:
getDefaultContextin interfaceContextContainer
-
resolveContext
public Context resolveContext(String contextId, Object param)
- Specified by:
resolveContextin interfaceContextResolver- Specified by:
resolveContextin interfaceNodeContainer- Overrides:
resolveContextin classNodeImpl
-
-