public class Transition extends Object implements Serializable
| Constructor and Description |
|---|
Transition() |
| Modifier and Type | Method and Description |
|---|---|
String |
getConditionExpression()
Returns the condition expression for this transition.
|
ProcessNode |
getFrom()
Returns the process node (effectively a
StartEvent or Task) the transition is
pointing from. |
String |
getId()
Returns the unique identifier of the transition.
|
ProcessNode |
getTo()
|
void |
setConditionExpression(String conditionExpression)
Sets the condition expression for this transition.
|
void |
setFrom(ProcessNode from)
Sets the process node the transition is pointing from.
|
void |
setId(String id)
Sets the unique identifier of the transition.
|
void |
setTo(ProcessNode to)
Sets the process node the transition is pointing to.
|
String |
toString() |
public ProcessNode getFrom()
StartEvent or Task) the transition is
pointing from.null if transition comes from a process definition
from ProcessDefinitionParser).public void setFrom(ProcessNode from)
from - The transition's source process node.public ProcessNode getTo()
null if transition comes from a process
definition from ProcessDefinitionParser).public void setTo(ProcessNode to)
to - The transition's destination process node.public String getId()
null).public void setId(String id)
id - The unique identifier.public String getConditionExpression()
null).public void setConditionExpression(String conditionExpression)
conditionExpression - The condition expression.Copyright © 2017. All rights reserved.