Modifier and Type | Method and Description |
---|---|
abstract void |
accept(TaskVisitor visitor) |
Token |
getLabel() |
protected String |
getLabelString() |
List<LabelledTaskNode> |
getSeries()
For nodes representing a flow or a split, return the series of elements to run in
sequence/parallel.
|
LabelledTaskNode |
getSeriesElement(int index)
For nodes representing a flow or a split, return a specific element in the series
of things that will run either sequentially or in parallel.
|
int |
getSeriesLength()
For nodes representing a flow or split, return how many are in the series of things
to run (so the number to run in sequence or the number to run in parallel).
|
protected boolean |
hasLabel() |
boolean |
isFlow() |
boolean |
isSplit() |
boolean |
isTaskApp() |
void |
setLabel(Token label) |
getEndPos, getStartPos, stringify, stringify
public boolean isFlow()
public boolean isSplit()
public boolean isTaskApp()
public int getSeriesLength()
public LabelledTaskNode getSeriesElement(int index)
index
- the element of interestpublic List<LabelledTaskNode> getSeries()
protected boolean hasLabel()
protected String getLabelString()
public Token getLabel()
public void setLabel(Token label)
public abstract void accept(TaskVisitor visitor)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.