Class FlowGraphWalker
- java.lang.Object
-
- org.jenkinsci.plugins.workflow.graph.FlowGraphWalker
-
-
Constructor Summary
Constructors Constructor Description FlowGraphWalker()
FlowGraphWalker(FlowExecution exec)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addHead(FlowNode head)
void
addHeads(List<FlowNode> heads)
Iterator<FlowNode>
iterator()
UnlikeIterable.iterator()
, this may be iterated only once.FlowNode
next()
Deprecated.This class isIterable
now.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
FlowGraphWalker
public FlowGraphWalker(FlowExecution exec)
-
FlowGraphWalker
public FlowGraphWalker()
-
-
Method Detail
-
addHead
public void addHead(FlowNode head)
-
next
@Deprecated public FlowNode next()
Deprecated.This class isIterable
now. Useiterator()
instead.Each time this method is called, it returns a new node until all the nodes are visited, in which case this method returns null.
-
-