| java.lang.Object org.jbpm.graph.def.GraphElement org.jbpm.graph.def.Node
All known Subclasses: org.jbpm.graph.def.SuperState, org.jbpm.graph.node.InterleaveEnd, org.jbpm.graph.node.InterleaveStart, org.jbpm.graph.node.MailNode, org.jbpm.graph.node.MilestoneNode, org.jbpm.graph.node.Decision, org.jbpm.graph.node.advanced.ParallelSplit, org.jbpm.graph.node.State, org.jbpm.graph.node.Join, org.jbpm.graph.node.Merge, org.jbpm.graph.node.TaskNode, org.jbpm.graph.node.EndState, org.jbpm.graph.node.StartState, org.jbpm.graph.node.Fork, org.jbpm.graph.node.Page, org.jbpm.graph.node.ProcessState,
Constructor Summary | |
public | Node() creates an unnamed node. | public | Node(String name) creates a node with the given name. |
arrivingTransitions | protected Set arrivingTransitions(Code) | | |
isAsync | protected boolean isAsync(Code) | | |
isAsyncExclusive | protected boolean isAsyncExclusive(Code) | | |
leavingTransitionMap | transient Map leavingTransitionMap(Code) | | |
leavingTransitions | protected List leavingTransitions(Code) | | |
supportedEventTypes | final public static String[] supportedEventTypes(Code) | | |
Node | public Node()(Code) | | creates an unnamed node.
|
Node | public Node(String name)(Code) | | creates a node with the given name.
|
enter | public void enter(ExecutionContext executionContext)(Code) | | called by a transition to pass execution to this node.
|
execute | public void execute(ExecutionContext executionContext)(Code) | | override this method to customize the node behaviour.
|
generateNextLeavingTransitionName | public String generateNextLeavingTransitionName()(Code) | | generates a new name for a transition that will be added as a leaving transition.
|
getArrivingTransitions | public Set getArrivingTransitions()(Code) | | are the arriving transitions.
|
getDefaultLeavingTransition | public Transition getDefaultLeavingTransition()(Code) | | is the default leaving transition.
|
getFullyQualifiedName | public String getFullyQualifiedName()(Code) | | the slash separated name that includes all the superstate names.
|
getLeavingTransition | public Transition getLeavingTransition(String transitionName)(Code) | | retrieves a leaving transition by name. note that also the leaving
transitions of the supernode are taken into account.
|
getLeavingTransitions | public List getLeavingTransitions()(Code) | | |
getLeavingTransitionsList | public List getLeavingTransitionsList()(Code) | | |
getLeavingTransitionsMap | public Map getLeavingTransitionsMap()(Code) | | are the leaving
Transition s, mapped by their name (java.lang.String).
|
getNodes | public List getNodes()(Code) | | returns a list of child nodes (only applicable for
SuperState )s.
|
getSupportedEventTypes | public String[] getSupportedEventTypes()(Code) | | |
hasLeavingTransition | public boolean hasLeavingTransition(String transitionName)(Code) | | checks for the presence of a leaving transition with the given name.
true if this node has a leaving transition with the given name,false otherwise. |
hasNoLeavingTransitions | public boolean hasNoLeavingTransitions()(Code) | | true if this transition has leaving transitions.
|
isAsync | public boolean isAsync()(Code) | | |
isAsyncExclusive | public boolean isAsyncExclusive()(Code) | | |
isSuperStateNode | public boolean isSuperStateNode()(Code) | | indicates wether this node is a superstate.
|
leave | public void leave(ExecutionContext executionContext)(Code) | | called by the implementation of this node to continue execution over the default transition.
|
leave | public void leave(ExecutionContext executionContext, String transitionName)(Code) | | called by the implementation of this node to continue execution over the specified transition.
|
leave | public void leave(ExecutionContext executionContext, Transition transition)(Code) | | called by the implementation of this node to continue execution over the given transition.
|
removeArrivingTransition | public void removeArrivingTransition(Transition arrivingTransition)(Code) | | removes the bidirection relation between this node and the given arriving
transition.
throws: IllegalArgumentException - if t is null. |
removeLeavingTransition | public void removeLeavingTransition(Transition leavingTransition)(Code) | | removes the bidirection relation between this node and the given leaving transition.
throws: IllegalArgumentException - if leavingTransition is null. |
reorderLeavingTransition | public void reorderLeavingTransition(int oldIndex, int newIndex)(Code) | | moves one leaving transition from the oldIndex and inserts it at the newIndex.
|
setAsync | public void setAsync(boolean isAsync)(Code) | | |
setAsyncExclusive | public void setAsyncExclusive(boolean isAsyncExclusive)(Code) | | |
setName | public void setName(String name)(Code) | | updates the name of this node
|
write | public void write(Element nodeElement)(Code) | | |
|
|