org.jbpm.graph.node
Class InterleaveEnd

java.lang.Object
  extended by org.jbpm.graph.def.GraphElement
      extended by org.jbpm.graph.def.Node
          extended by org.jbpm.graph.node.InterleaveEnd
All Implemented Interfaces:
java.io.Serializable, Identifiable, Parsable

public class InterleaveEnd
extends Node
implements Parsable

a interleaving end node should have 2 leaving transitions. one with the name 'back' that has the interleaving start node as destinationNode. and one with the name 'done' that specifies the destinationNode in case the interleaving is done. Alternatively, the back and done transitions can be specified in this interleave handler.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jbpm.graph.def.Node
Node.NodeType
 
Field Summary
 
Fields inherited from class org.jbpm.graph.def.Node
action, arrivingTransitions, isAsync, isAsyncExclusive, leavingTransitions, superState, supportedEventTypes
 
Fields inherited from class org.jbpm.graph.def.GraphElement
description, events, exceptionHandlers, name, processDefinition
 
Constructor Summary
InterleaveEnd()
           
InterleaveEnd(java.lang.String name)
           
 
Method Summary
 void execute(ExecutionContext executionContext)
          override this method to customize the node behaviour.
 Transition getBack()
           
 Transition getDone()
           
 InterleaveStart getInterleaveStart()
           
 void read(org.dom4j.Element element, JpdlXmlReader jpdlReader)
           
 void setBack(Transition back)
           
 void setDone(Transition done)
           
 void write(org.dom4j.Element element)
           
 
Methods inherited from class org.jbpm.graph.def.Node
addArrivingTransition, addLeavingTransition, addNodeLog, createAsyncContinuationJob, enter, generateNextLeavingTransitionName, getAction, getArrivingTransitions, getDefaultLeavingTransition, getFullyQualifiedName, getLeavingTransition, getLeavingTransitions, getLeavingTransitionsList, getLeavingTransitionsMap, getNameExt, getNodes, getNodeType, getParent, getProcessDefinition, getSuperState, getSupportedEventTypes, hasLeavingTransition, hasNoLeavingTransitions, isAsync, isAsyncExclusive, isSuperStateNode, leave, leave, leave, removeArrivingTransition, removeLeavingTransition, reorderLeavingTransition, setAction, setAsync, setAsyncExclusive, setName
 
Methods inherited from class org.jbpm.graph.def.GraphElement
addEvent, addExceptionHandler, createAsyncActionExecutionJob, equals, executeAction, findExceptionHandler, fireAndPropagateEvent, fireEvent, getDescription, getEvent, getEvents, getExceptionHandlers, getId, getName, getParentChain, getParents, hasEvent, hasEvents, hashCode, raiseException, removeEvent, removeExceptionHandler, reorderExceptionHandler, setDescription, setProcessDefinition, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InterleaveEnd

public InterleaveEnd()

InterleaveEnd

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

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

getInterleaveStart

public InterleaveStart getInterleaveStart()

getBack

public Transition getBack()

setBack

public void setBack(Transition back)

getDone

public Transition getDone()

setDone

public void setDone(Transition done)


Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.