public class SplitNode extends LabelledComposedTaskNode
.
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ComposedTaskVisitor visitor) |
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).
|
boolean |
isSplit() |
String |
stringify(boolean includePositionInfo) |
String |
toString() |
getLabel, getLabelString, hasLabel, isFlow, isTaskApp, setLabelgetEndPos, getStartPos, stringifypublic String stringify(boolean includePositionInfo)
public int getSeriesLength()
LabelledComposedTaskNodegetSeriesLength in class LabelledComposedTaskNodepublic LabelledComposedTaskNode getSeriesElement(int index)
LabelledComposedTaskNodegetSeriesElement in class LabelledComposedTaskNodeindex - the element of interestpublic List<LabelledComposedTaskNode> getSeries()
LabelledComposedTaskNodegetSeries in class LabelledComposedTaskNodepublic boolean isSplit()
isSplit in class LabelledComposedTaskNodepublic void accept(ComposedTaskVisitor visitor)
accept in class LabelledComposedTaskNodeCopyright © 2017 Pivotal Software, Inc.. All rights reserved.