Class ExecutionGraph
- java.lang.Object
-
- de.codecentric.reedelk.platform.graph.ExecutionGraph
-
public class ExecutionGraph extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyOnNodes(Consumer<ExecutionNode> consumer)static ExecutionGraphbuild()Optional<ExecutionNode>findOne(Predicate<ExecutionNode> predicate)ExecutionNodegetRoot()booleanisEmpty()voidputEdge(ExecutionNode n1, ExecutionNode n2)Collection<ExecutionNode>successors(ExecutionNode executionNode)
-
-
-
Method Detail
-
build
public static ExecutionGraph build()
-
putEdge
public void putEdge(ExecutionNode n1, ExecutionNode n2)
-
getRoot
public ExecutionNode getRoot()
-
successors
public Collection<ExecutionNode> successors(ExecutionNode executionNode)
-
applyOnNodes
public void applyOnNodes(Consumer<ExecutionNode> consumer)
-
findOne
public Optional<ExecutionNode> findOne(Predicate<ExecutionNode> predicate)
-
isEmpty
public boolean isEmpty()
-
-