站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss JBPM 3.0.4 API 英文版文档

Transition (jbpm-3.0.4) - JBoss JBPM 3.0.4 API 英文版文档


org.jbpm.graph.def
Class Transition

java.lang.Object
  extended byorg.jbpm.graph.def.GraphElement
      extended byorg.jbpm.graph.def.Transition
All Implemented Interfaces:
java.io.Serializable

public class Transition
extends GraphElement

See Also:
Serialized Form

Field Summary
protected  Node from
           
static java.lang.String[] supportedEventTypes
           
protected  Node to
           
 
Fields inherited from class org.jbpm.graph.def.GraphElement
events, exceptionHandlers, name, processDefinition
 
Constructor Summary
Transition()
           
Transition(java.lang.String name)
           
 
Method Summary
 Node getFrom()
           
 GraphElement getParent()
           
 java.lang.String[] getSupportedEventTypes()
          indicative set of event types supported by this graph element.
 Node getTo()
           
 void setFrom(Node from)
          sets the from node unidirectionally.
 void setName(java.lang.String name)
           
 void setTo(Node to)
          sets the to node unidirectionally.
 void take(ExecutionContext executionContext)
          passes execution over this transition.
 
Methods inherited from class org.jbpm.graph.def.GraphElement
addEvent, addExceptionHandler, findExceptionHandler, fireAndPropagateEvent, fireEvent, getEvent, getEvents, getExceptionHandlers, getId, getName, getParentChain, getParents, getProcessDefinition, hasEvent, hasEvents, raiseException, removeEvent, removeExceptionHandler, reorderExceptionHandler, setProcessDefinition, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

from

protected Node from

to

protected Node to

supportedEventTypes

public static final java.lang.String[] supportedEventTypes
Constructor Detail

Transition

public Transition()

Transition

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

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 contstraints on the event-types.

Specified by:
getSupportedEventTypes in class GraphElement

getFrom

public Node getFrom()

setFrom

public void setFrom(Node from)
sets the from node unidirectionally. use Node.addLeavingTransition(Transition) to get bidirectional relations mgmt.


setTo

public void setTo(Node to)
sets the to node unidirectionally. use Node.addArrivingTransition(Transition) to get bidirectional relations mgmt.


getTo

public Node getTo()

take

public void take(ExecutionContext executionContext)
passes execution over this transition.


setName

public void setName(java.lang.String name)
Overrides:
setName in class GraphElement

getParent

public GraphElement getParent()
Overrides:
getParent in class GraphElement


Version : jbpm-3.0.4