|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jbpm.graph.def.GraphElement
org.jbpm.graph.def.Transition
public class Transition
| Field Summary | |
|---|---|
protected java.lang.String |
condition
|
protected Node |
from
|
static java.lang.String[] |
supportedEventTypes
Deprecated. arrays are mutable and thus vulnerable to external manipulation. use getSupportedEventTypes() instead |
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 | |
|---|---|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getCondition()
the condition expression for this transition. |
Node |
getFrom()
|
GraphElement |
getParent()
|
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. |
Node |
getTo()
|
int |
hashCode()
|
boolean |
isConditionEnforced()
|
void |
removeConditionEnforcement()
Deprecated. call setConditionEnforced(false) instead |
void |
setCondition(java.lang.String conditionExpression)
|
void |
setConditionEnforced(boolean conditionEnforced)
|
void |
setFrom(Node from)
sets the from node unidirectionally. use Node.addLeavingTransition(Transition) to
get bidirectional relations mgmt. |
void |
setName(java.lang.String name)
|
void |
setTo(Node to)
sets the to node unidirectionally. use Node.addArrivingTransition(Transition) to
get bidirectional relations mgmt. |
void |
take(ExecutionContext executionContext)
passes execution over this transition. |
| Methods inherited from class org.jbpm.graph.def.GraphElement |
|---|
addEvent, addExceptionHandler, createAsyncActionExecutionJob, 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, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Node from
protected Node to
protected java.lang.String condition
public static final java.lang.String[] supportedEventTypes
getSupportedEventTypes() instead| Constructor Detail |
|---|
public Transition()
public Transition(java.lang.String name)
| Method Detail |
|---|
public java.lang.String[] getSupportedEventTypes()
GraphElement
getSupportedEventTypes in class GraphElementpublic Node getFrom()
public void setFrom(Node from)
Node.addLeavingTransition(Transition) to
get bidirectional relations mgmt.
public void setTo(Node to)
Node.addArrivingTransition(Transition) to
get bidirectional relations mgmt.
public Node getTo()
public java.lang.String getCondition()
public void setCondition(java.lang.String conditionExpression)
public boolean isConditionEnforced()
public void setConditionEnforced(boolean conditionEnforced)
public void removeConditionEnforcement()
setConditionEnforced(false) instead
public void take(ExecutionContext executionContext)
public boolean equals(java.lang.Object o)
equals in class GraphElementpublic int hashCode()
hashCode in class GraphElementpublic void setName(java.lang.String name)
setName in class GraphElementpublic GraphElement getParent()
getParent in class GraphElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||