public class TransitionNode extends AstNode
Modifier and Type | Method and Description |
---|---|
void |
accept(TaskVisitor visitor) |
String |
getStatusToCheck()
Return the status that should trigger the transition.
|
String |
getStatusToCheckInDSLForm()
Return the status that should trigger the transition as it would occur in the DSL.
|
TaskAppNode |
getTargetApp() |
String |
getTargetDslText() |
String |
getTargetLabel() |
boolean |
isEndTransition() |
boolean |
isExitCodeCheck() |
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.
|
boolean |
isTargetApp()
The target is either an app or a reference.
|
String |
stringify(boolean includePositionInfo) |
getEndPos, getStartPos, stringify
public static final String FAIL
public static final String END
public String stringify(boolean includePositionInfo)
public String getStatusToCheck()
public String getStatusToCheckInDSLForm()
public boolean isTargetApp()
public String getTargetLabel()
public TaskAppNode getTargetApp()
public boolean isSpecialTransition()
public boolean isFailTransition()
public boolean isEndTransition()
public boolean isExitCodeCheck()
public String getTargetDslText()
public void accept(TaskVisitor visitor)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.