Interface ITaskFlowAnalysisData
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
ITaskFlowAnalysis
Base data with the result of analyzing a workflow task, without analysis operations. Contains the end points, the
hierarchy graph, and the created flow graph.
- Since:
- 8.0.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.graph.ValueGraph<NodeKey,
? extends IFlowGraphEdgeData> Returns the flow graph that indicated potential successors for each node.
-
Method Details
-
getRootEndPoints
IFlowGraphEndPoints getRootEndPoints()- Returns:
- The end points of the
WorkflowTask.getRootNode()
. Can be used, for example, to check, if all code paths have a return statement (which is the case if no normal end points exist).
-
getValueFlowGraph
com.google.common.graph.ValueGraph<NodeKey,? extends IFlowGraphEdgeData> getValueFlowGraph()Returns the flow graph that indicated potential successors for each node. The flow graph is a directed graph with one edge for each node contained in the analyzed task. The graph has an edge fromnode1
tonode2
iff is is possible thatnode1
transfers control directly tonode2
; i.e. iff there exists at least one code path wherenode2
immediately succeedsnode1
.In addition, each edge has additional data with information about that edge, see
IFlowGraphEdgeData
.- Returns:
- The flow graph that was obtained from analyzing the task.
- Since:
- 8.0.0
-