|
||||||||||
| 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 String |
condition
|
protected Node |
from
|
static 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(String name)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
String |
getCondition()
the condition expression for this transition. |
Node |
getFrom()
|
GraphElement |
getParent()
|
String[] |
getSupportedEventTypes()
indicative set of event types supported by this graph element. |
Node |
getTo()
|
int |
hashCode()
|
boolean |
isConditionEnforced()
|
void |
removeConditionEnforcement()
Deprecated. call setConditionEnforced(false) instead |
void |
setCondition(String conditionExpression)
|
void |
setConditionEnforced(boolean conditionEnforced)
|
void |
setFrom(Node from)
sets the from node unidirectionally. |
void |
setName(String name)
|
void |
setTo(Node to)
sets the to node unidirectionally. |
void |
take(ExecutionContext executionContext)
passes execution over this transition. |
String |
toString()
|
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Node from
protected Node to
protected String condition
public static final String[] supportedEventTypes
getSupportedEventTypes() instead| Constructor Detail |
|---|
public Transition()
public Transition(String name)
| Method Detail |
|---|
public 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 String getCondition()
public void setCondition(String conditionExpression)
public boolean isConditionEnforced()
public void setConditionEnforced(boolean conditionEnforced)
public void removeConditionEnforcement()
setConditionEnforced(false) instead
public void take(ExecutionContext executionContext)
public boolean equals(Object o)
equals in class GraphElementpublic int hashCode()
hashCode in class GraphElementpublic String toString()
toString in class GraphElementpublic void setName(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 | |||||||||