| org.jbpm.graph.def.Node org.jbpm.graph.node.Fork
Fork | public class Fork extends Node implements Parsable(Code) | | 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 :
- without configuration : in that case the fork will launch one
new sub-token over each of the leaving tranisions of the fork
node.
- a script : can be used to calculate a collection of transition
names at runtime. if a script is configured, the script must have
exactly one variable with 'write' access. that variable
should be assigned a java.util.Collection in the script
expression.
|
Inner Class :static class ForkedToken | |
Field Summary | |
Script | script a script that calculates the transitionNames at runtime. |
script | Script script(Code) | | a script that calculates the transitionNames at runtime.
|
createForkedToken | protected ForkedToken createForkedToken(Token parent, String transitionName)(Code) | | |
|
|