public class Flow extends JobSeries
aa || bb.
Constructor and Description |
---|
Flow(java.util.List<JobNode> jobDefOrRefsWithConditions) |
Modifier and Type | Method and Description |
---|---|
java.util.List<JobNode> |
getSeries()
For nodes representing a flow or a split, return the series of
elements to run in sequence/parallel.
|
JobNode |
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).
|
java.lang.String |
stringify(boolean includePositionInfo) |
java.lang.String |
toString() |
isJobDescriptor
format, getEndPos, getStartPos, stringify
public Flow(java.util.List<JobNode> jobDefOrRefsWithConditions)
public java.lang.String stringify(boolean includePositionInfo)
public int getSeriesLength()
JobNode
getSeriesLength
in class JobNode
public java.util.List<JobNode> getSeries()
JobNode
public JobNode getSeriesElement(int index)
JobNode
getSeriesElement
in class JobNode
index
- the element of interestpublic java.lang.String toString()
toString
in class java.lang.Object