org.jbpm.graph.node
Class Decision

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

public class Decision
extends Node

decision node.

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
Decision()
           
Decision(String name)
           
 
Method Summary
 Transition addLeavingTransition(Transition leavingTransition)
          creates a bidirection relation between this node and the given leaving transition.
 void execute(ExecutionContext executionContext)
          override this method to customize the node behaviour.
 List getDecisionConditions()
           
 Delegation getDecisionDelegation()
           
 Node.NodeType getNodeType()
           
 void read(org.dom4j.Element decisionElement, JpdlXmlReader jpdlReader)
           
 void setDecisionDelegation(Delegation decisionDelegation)
           
 
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, getSupportedEventTypes, 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
 

Constructor Detail

Decision

public Decision()

Decision

public Decision(String name)
Method Detail

getNodeType

public Node.NodeType getNodeType()
Overrides:
getNodeType in class Node

read

public void read(org.dom4j.Element decisionElement,
                 JpdlXmlReader jpdlReader)
Specified by:
read in interface Parsable
Overrides:
read in class Node

addLeavingTransition

public Transition addLeavingTransition(Transition leavingTransition)
Description copied from class: Node
creates a bidirection relation between this node and the given leaving transition.

Overrides:
addLeavingTransition 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

getDecisionConditions

public List getDecisionConditions()

getDecisionDelegation

public Delegation getDecisionDelegation()

setDecisionDelegation

public void setDecisionDelegation(Delegation decisionDelegation)


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