public class SplitNode extends LabelledTaskNode
.
Modifier and Type | Method and Description |
---|---|
void |
accept(TaskVisitor visitor) |
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).
|
boolean |
isSplit() |
String |
stringify(boolean includePositionInfo) |
String |
toString() |
getLabel, getLabelString, hasLabel, isFlow, isTaskApp, setLabel
getEndPos, getStartPos, stringify
public String stringify(boolean includePositionInfo)
public int getSeriesLength()
LabelledTaskNode
getSeriesLength
in class LabelledTaskNode
public LabelledTaskNode getSeriesElement(int index)
LabelledTaskNode
getSeriesElement
in class LabelledTaskNode
index
- the element of interestpublic List<LabelledTaskNode> getSeries()
LabelledTaskNode
getSeries
in class LabelledTaskNode
public boolean isSplit()
isSplit
in class LabelledTaskNode
public void accept(TaskVisitor visitor)
accept
in class LabelledTaskNode
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.