站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss JBPM 3.0.4 API 英文版文档

Fork (jbpm-3.0.4) - JBoss JBPM 3.0.4 API 英文版文档


org.jbpm.graph.node
Class Fork

java.lang.Object
  extended byorg.jbpm.graph.def.GraphElement
      extended byorg.jbpm.graph.def.Node
          extended byorg.jbpm.graph.node.Fork
All Implemented Interfaces:
Parsable, java.io.Serializable

public class Fork
extends Node
implements Parsable

specifies configurable fork behaviour.

if this fork behaviour is not sufficient for your needs, consider writing your own custom TokenHandler.

this forkhandler can be configured in 3 ways :

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jbpm.graph.def.Node
action, arrivingTransitions, leavingTransitions, superState, supportedEventTypes
 
Fields inherited from class org.jbpm.graph.def.GraphElement
events, exceptionHandlers, name, processDefinition
 
Constructor Summary
Fork()
           
Fork(java.lang.String name)
           
 
Method Summary
protected  org.jbpm.graph.node.Fork.ForkedToken createForkedToken(Token parent, java.lang.String transitionName)
           
 void execute(ExecutionContext executionContext)
          override this method to customize the node behaviour.
 Script getScript()
           
protected  java.lang.String getTokenName(Token parent, java.lang.String transitionName)
           
 void read(org.dom4j.Element forkElement, JpdlXmlReader jpdlReader)
           
 void setScript(Script script)
           
 
Methods inherited from class org.jbpm.graph.def.Node
addArrivingTransition, addLeavingTransition, enter, generateNextLeavingTransitionName, getAction, getArrivingTransitions, getDefaultLeavingTransition, getFullyQualifiedName, getLeavingTransition, getLeavingTransitions, getLeavingTransitionsList, getLeavingTransitionsMap, getParent, getProcessDefinition, getSuperState, getSupportedEventTypes, hasLeavingTransition, hasNoLeavingTransitions, leave, leave, leave, removeArrivingTransition, removeLeavingTransition, reorderLeavingTransition, setAction, setName, write
 
Methods inherited from class org.jbpm.graph.def.GraphElement
addEvent, addExceptionHandler, 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, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jbpm.jpdl.xml.Parsable
write
 

Constructor Detail

Fork

public Fork()

Fork

public Fork(java.lang.String name)
Method Detail

read

public void read(org.dom4j.Element forkElement,
                 JpdlXmlReader jpdlReader)
Specified by:
read in interface Parsable
Overrides:
read 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

createForkedToken

protected org.jbpm.graph.node.Fork.ForkedToken createForkedToken(Token parent,
                                                                 java.lang.String transitionName)

getTokenName

protected java.lang.String getTokenName(Token parent,
                                        java.lang.String transitionName)

getScript

public Script getScript()

setScript

public void setScript(Script script)


Version : jbpm-3.0.4