org.jbpm.graph.def
Class Transition

java.lang.Object
  extended by org.jbpm.graph.def.GraphElement
      extended by org.jbpm.graph.def.Transition
All Implemented Interfaces:
java.io.Serializable, Identifiable

public class Transition
extends GraphElement

See Also:
Serialized Form

Field Summary
protected  java.lang.String condition
           
protected  Node from
           
static java.lang.String[] supportedEventTypes
           
protected  Node to
           
 
Fields inherited from class org.jbpm.graph.def.GraphElement
description, events, exceptionHandlers, name, processDefinition
 
Constructor Summary
Transition()
           
Transition(java.lang.String name)
           
 
Method Summary
 java.lang.String getCondition()
           
 Node getFrom()
           
 GraphElement getParent()
           
 java.lang.String[] getSupportedEventTypes()
          indicative set of event types supported by this graph element.
 Node getTo()
           
 void removeConditionEnforcement()
           
 void setCondition(java.lang.String conditionExpression)
           
 void setFrom(Node from)
           
 void setName(java.lang.String name)
           
 void setTo(Node to)
           
 void take(ExecutionContext executionContext)
           
 
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, getProcessDefinition, hasEvent, hasEvents, raiseException, removeEvent, removeExceptionHandler, reorderExceptionHandler, setDescription, setProcessDefinition, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

from

protected Node from

to

protected Node to

condition

protected java.lang.String condition

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)

setTo

public void setTo(Node to)

getTo

public Node getTo()

getCondition

public java.lang.String getCondition()

setCondition

public void setCondition(java.lang.String conditionExpression)

removeConditionEnforcement

public void removeConditionEnforcement()

take

public void take(ExecutionContext executionContext)

setName

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

getParent

public GraphElement getParent()
Overrides:
getParent in class GraphElement


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