| Modifier and Type | Method and Description |
|---|---|
abstract void |
accept(ComposedTaskVisitor visitor) |
Token |
getLabel() |
protected String |
getLabelString() |
List<LabelledComposedTaskNode> |
getSeries()
For nodes representing a flow or a split, return the series of
elements to run in sequence/parallel.
|
LabelledComposedTaskNode |
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, stringifypublic boolean isFlow()
public boolean isSplit()
public boolean isTaskApp()
public int getSeriesLength()
public LabelledComposedTaskNode getSeriesElement(int index)
index - the element of interestpublic List<LabelledComposedTaskNode> getSeries()
protected boolean hasLabel()
protected String getLabelString()
public void setLabel(Token label)
public Token getLabel()
public abstract void accept(ComposedTaskVisitor visitor)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.