org.jbpm.graph.node
Class EndState
java.lang.Object
org.jbpm.graph.def.GraphElement
org.jbpm.graph.def.Node
org.jbpm.graph.node.EndState
- All Implemented Interfaces:
- java.io.Serializable, Identifiable, Parsable
public class EndState
- extends Node
- See Also:
- Serialized Form
Method Summary |
Transition |
addLeavingTransition(Transition t)
creates a bidirection relation between this node and the given leaving transition. |
void |
execute(ExecutionContext executionContext)
override this method to customize the node behaviour. |
Node.NodeType |
getNodeType()
|
java.lang.String[] |
getSupportedEventTypes()
indicative set of event types supported by this graph element. this is currently only used
by the process designer to know which event types to show on a given graph element. in
process definitions and at runtime, there are no constraints on the event-types. |
void |
read(org.dom4j.Element nodeElement,
JpdlXmlReader jpdlXmlReader)
|
Methods inherited from class org.jbpm.graph.def.Node |
addArrivingTransition, addNodeLog, createAsyncContinuationJob, enter, generateNextLeavingTransitionName, getAction, getArrivingTransitions, getDefaultLeavingTransition, getFullyQualifiedName, getLeavingTransition, getLeavingTransitions, getLeavingTransitionsList, getLeavingTransitionsMap, getNameExt, getNodes, getParent, getProcessDefinition, getSuperState, hasLeavingTransition, hasNoLeavingTransitions, isAsync, isAsyncExclusive, isSuperStateNode, leave, leave, leave, removeArrivingTransition, removeLeavingTransition, reorderLeavingTransition, setAction, setAsync, setAsyncExclusive, setName, write |
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 |
supportedEventTypes
public static final java.lang.String[] supportedEventTypes
EndState
public EndState()
EndState
public EndState(java.lang.String name)
getSupportedEventTypes
public java.lang.String[] getSupportedEventTypes()
- Description copied from class:
GraphElement
- indicative set of event types supported by this graph element. this is currently only used
by the process designer to know which event types to show on a given graph element. in
process definitions and at runtime, there are no constraints on the event-types.
- Overrides:
getSupportedEventTypes
in class Node
getNodeType
public Node.NodeType getNodeType()
- Overrides:
getNodeType
in class Node
read
public void read(org.dom4j.Element nodeElement,
JpdlXmlReader jpdlXmlReader)
- 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
addLeavingTransition
public Transition addLeavingTransition(Transition t)
- Description copied from class:
Node
- creates a bidirection relation between this node and the given leaving transition.
- Overrides:
addLeavingTransition
in class Node
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.