当前页面:
在线文档首页 >
JBoss JBPM 3.1.3 API 英文版文档
InterleaveStart (jbpm-3.1.3) - JBoss JBPM 3.1.3 API 英文版文档
org.jbpm.graph.node
Class InterleaveStart
java.lang.Object
org.jbpm.graph.def.GraphElement
org.jbpm.graph.def.Node
org.jbpm.graph.node.InterleaveStart
- All Implemented Interfaces:
- java.io.Serializable, Parsable
public class InterleaveStart
- extends Node
- implements Parsable
is an unordered set of child nodeMap. the path of execution will
be given to each node exactly once. the sequence of the child
nodeMap will be determined at runtime. this implements the
workflow pattern interleved parallel routing.
If no script is supplied, the transition names will be sequenced
in arbitrary order.
If a script is provided, the variable transitionNames contains the
available transition names. The returned value has to be one of
those transitionNames.
Instead of supplying a script, its also possible to subclass this
class and override the selectTransition method.
- See Also:
- Serialized Form
Methods inherited from class org.jbpm.graph.def.Node |
addArrivingTransition, addLeavingTransition, addNodeLog, enter, generateNextLeavingTransitionName, getAction, getArrivingTransitions, getDefaultLeavingTransition, getFullyQualifiedName, getLeavingTransition, getLeavingTransitions, getLeavingTransitionsList, getLeavingTransitionsMap, getParent, getProcessDefinition, getSuperState, getSupportedEventTypes, hasLeavingTransition, hasNoLeavingTransitions, isAsync, leave, leave, leave, removeArrivingTransition, removeLeavingTransition, reorderLeavingTransition, setAction, setAsync, setName |
Methods inherited from class org.jbpm.graph.def.GraphElement |
addEvent, addExceptionHandler, equals, executeAction, findExceptionHandler, fireAndPropagateEvent, fireEvent, getEvent, getEvents, getExceptionHandlers, getId, getName, getParentChain, getParents, hasEvent, hasEvents, raiseException, removeEvent, removeExceptionHandler, reorderExceptionHandler, setProcessDefinition, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
InterleaveStart
public InterleaveStart()
InterleaveStart
public InterleaveStart(java.lang.String name)
read
public void read(org.dom4j.Element element,
JpdlXmlReader jpdlReader)
- Specified by:
read
in interface Parsable
- Overrides:
read
in class Node
write
public void write(org.dom4j.Element element)
- Specified by:
write
in interface Parsable
- Overrides:
write
in class Node
execute
public void execute(ExecutionContext executionContext)
- Description copied from class:
Node
- override this method to customize the node behaviour.
- Overrides:
execute
in class Node
getTransitionNames
protected java.util.Collection getTransitionNames(Token token)
storeTransitionNames
protected void storeTransitionNames(java.util.Collection transitionNames,
Token token)
retrieveTransitionNames
public java.util.Collection retrieveTransitionNames(Token token)
removeTransitionNames
public void removeTransitionNames(Token token)
getInterleaver
public InterleaveStart.Interleaver getInterleaver()
setInterleaver
public void setInterleaver(InterleaveStart.Interleaver interleaver)
Version : jbpm-3.1.3