org.jbpm.workflow.core.node
public class CompositeContextNode extends CompositeNode implements ContextContainer
CompositeNode.CompositeNodeEnd, CompositeNode.CompositeNodeStart, CompositeNode.NodeAndType
EVENT_NODE_ENTER, EVENT_NODE_EXIT
constraints, EMPTY_NODE_ARRAY
CONNECTION_DEFAULT_TYPE
Constructor and Description |
---|
CompositeContextNode() |
Modifier and Type | Method and Description |
---|---|
void |
addContext(Context context) |
Context |
getContext(String contextType,
long id) |
List<Context> |
getContexts(String contextType) |
Context |
getDefaultContext(String contextType) |
Context |
resolveContext(String contextId,
Object param) |
void |
setDefaultContext(Context context) |
acceptsEvent, addIncomingConnection, addNode, addOutgoingConnection, getLinkedIncomingNode, getLinkedIncomingNodes, getLinkedOutgoingNode, getLinkedOutgoingNodes, getNode, getNodes, internalAddNode, internalGetLinkedIncomingNode, internalGetLinkedOutgoingNode, internalGetNode, internalGetNodes, internalRemoveNode, isCancelRemainingInstances, linkIncomingConnections, linkIncomingConnections, linkOutgoingConnections, linkOutgoingConnections, removeIncomingConnection, removeNode, removeOutgoingConnection, setCancelRemainingInstances, validateAddIncomingConnection, validateAddOutgoingConnection, validateRemoveIncomingConnection, validateRemoveOutgoingConnection
addBoundaryEvents, addTimer, getBoundaryEvents, getTimers, removeAllTimers, setBoundaryEvents
containsActions, getActions, getActionTypes, setActions
addConstraint, getConstraint, getConstraints, getContext, getDefaultIncomingConnections, getDefaultOutgoingConnections, getFrom, getId, getIncomingConnections, getIncomingConnections, getMetaData, getMetaData, getName, getNodeContainer, getOutgoingConnections, getOutgoingConnections, getTo, getUniqueId, internalGetConstraint, setConstraint, setContext, setId, setMetaData, setMetaData, setName, setNodeContainer
public List<Context> getContexts(String contextType)
getContexts
in interface ContextContainer
public void addContext(Context context)
addContext
in interface ContextContainer
public Context getContext(String contextType, long id)
getContext
in interface ContextContainer
public void setDefaultContext(Context context)
setDefaultContext
in interface ContextContainer
public Context getDefaultContext(String contextType)
getDefaultContext
in interface ContextContainer
public Context resolveContext(String contextId, Object param)
resolveContext
in interface ContextResolver
resolveContext
in class NodeImpl
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.