Interface IWorkflowFlowAnalysis
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
WorkflowFlowAnalysis
Interface for querying info about the control and data flow of a workflow process. Instances should usually only
represent the result of the analysis, the actual computation should be done before the instance is created (or during
the constructor call).
- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptionConvenience method for obtaining thetask analysis, then using it to obtain theend points.getPotentialPredecessorsOf(NodeKey targetKey) Deprecated.getPotentialPredecessorsOf(NodeKey targetKey, FlowGraphFilter.Backward filter) getPotentialSuccessorsOf(NodeKey sourceKey) Deprecated.getPotentialSuccessorsOf(NodeKey sourceKey, FlowGraphFilter.Forward filter) default ITaskFlowAnalysisgetTaskAnalysis(UUID taskUuid) default booleanisNodePotentiallyReachable(NodeKey sourceKey, NodeKey targetKey) booleanisNodePotentiallyReachable(NodeKey sourceKey, NodeKey targetKey, FlowGraphFilter.Generic filter)
-
Method Details
-
getEndPoints
Convenience method for obtaining thetask analysis, then using it to obtain theend points.- Parameters:
node- Node for which to find the end points.- Returns:
- The end points of the given node. Never null, but might be empty if a non-existing node was given.
- Since:
- 8.4.0
-
getPotentialPredecessorsOf
- Parameters:
targetKey- The key of the target node to check.filter- Filter applied when traversing the flow graph for finding paths from the target to preceding edges. SeeFlowGraphFiltersfor some common filters.- Returns:
- The keys of all nodes for which
isNodePotentiallyReachable(sourceUuid, nodeUuid, filter)returnstrue. - Since:
- 8.0.0
- See Also:
-
getPotentialPredecessorsOf
- Parameters:
targetKey- The key of the target node to check.- Returns:
- The keys of all nodes for which
isNodePotentiallyReachable(sourceUuid, nodeUuid, filter)returnstrue. - See Also:
-
getPotentialSuccessorsOf
- Parameters:
sourceKey- The key of the target node to check.filter- Filter applied when traversing the flow graph for finding paths from the source to succeeding edges. SeeFlowGraphFiltersfor some common filters.- Returns:
- The keys of all nodes for which
isNodePotentiallyReachable(sourceUuid, nodeUuid, filter)returnstrue. - Since:
- 8.0.0
- See Also:
-
getPotentialSuccessorsOf
Deprecated.- Parameters:
sourceKey- The key of the target node to check.- Returns:
- The keys of all nodes for which
isNodePotentiallyReachable(sourceUuid, nodeUuid, filter)returnstrue. - See Also:
-
getTaskAnalysis
- Parameters:
task- Task that was analyzed.- Returns:
- The control flow analysis for the given task.
- Since:
- 8.4.0
- See Also:
-
getTaskAnalysis
- Parameters:
taskUuid- UUID of a task that was analyzed.- Returns:
- The control flow analysis for the given task.
- See Also:
-
isNodePotentiallyReachable
- Parameters:
sourceKey- Key of the source node to check.targetKey- Key of the target node to check.- Returns:
- Whether any code path includes a path where the source node was executed at the point in time the target node is about to be executed.
- See Also:
-
isNodePotentiallyReachable
boolean isNodePotentiallyReachable(NodeKey sourceKey, NodeKey targetKey, FlowGraphFilter.Generic filter) - Parameters:
sourceKey- Key of the source node to check.targetKey- Key of the target node to check.filter- Filter applied when traversing the flow graph for finding paths from the source to the target. SeeFlowGraphFiltersfor some common filters.- Returns:
- Whether any code path includes a path where the source node was executed at the point in time the target node is about to be executed.
- Since:
- 8.0.0
- See Also:
-
getPotentialPredecessorsOf(targetKey, FlowGraphFilters.matchAll())