Package de.xima.fc.workflow
Class FlowGraphFilters
java.lang.Object
de.xima.fc.workflow.FlowGraphFilters
Contains some common implementations of
flow graph filters.- Since:
- 8.0.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptionstatic FlowGraphFilter.BackwardA filter for the predecessors of a node N that can provideerrororsoft errorresults to that node N.static FlowGraphFilter.GenericmatchAll()static FlowGraphFilter.Genericstatic FlowGraphFilter.BackwardA filter for the predecessors of a node N that can providesuccess resultsto that node N.
-
Method Details
-
errorResultPredecessors
A filter for the predecessors of a node N that can provideerrororsoft errorresults to that node N.Informally speaking, this is set of nodes {P}, such that, if P completes abruptly, a path to N exists, but excludes those nodes P that are only reachable by backtracking loops (as results from another node in the same loop are always resolved to the latest result from that loop iteration).
Constrains the initial edge to be a
throwing completionedge.- Returns:
- A filter for computing the normal completion predecessors of a node that are reachable without backwards edges.
-
matchAll
- Returns:
- A filter that does not impose any constraints and allows all edges and nodes.
-
matchNone
- Returns:
- A filter that does not allow any edges and nodes.
-
successResultPredecessors
A filter for the predecessors of a node N that can providesuccess resultsto that node N.Informally speaking, this is set of nodes {P}, such that, if P completes normally, a path to N exists, but excludes those nodes P that are only reachable by backtracking loops (as results from another node in the same loop are always resolved to the latest result from that loop iteration).
Constrains the initial edge to be a
normal completionedge.- Returns:
- A filter for computing the normal completion predecessors of a node that are reachable without backwards edges.
-