public class Transition extends AstNode
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
END |
static java.lang.String |
FAIL |
Constructor and Description |
---|
Transition(Token stateNameToken,
JobReference targetJobReference) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getStateName() |
java.lang.String |
getStateNameInDSLForm()
Basic names do not need wrapping in quotes but special characters, like
asterisk do.
|
java.lang.String |
getTargetJobName() |
boolean |
isEndTransition() |
boolean |
isFailTransition() |
boolean |
isSpecialTransition()
Some target names for a transition are 'well known' like $FAIL and $END - these
do not indicate a following job step, they instead indicate a termination state.
|
java.lang.String |
stringify(boolean includePositionInfo) |
getEndPos, getStartPos, stringify
public static final java.lang.String FAIL
public static final java.lang.String END
public Transition(Token stateNameToken, JobReference targetJobReference)
public java.lang.String stringify(boolean includePositionInfo)
public java.lang.String getStateName()
public java.lang.String getTargetJobName()
public java.lang.String getStateNameInDSLForm()
public boolean isSpecialTransition()
public boolean isFailTransition()
public boolean isEndTransition()