Interface ITaskFlowAnalysisData

  • All Superinterfaces:
    Serializable
    All Known Subinterfaces:
    ITaskFlowAnalysis

    public interface ITaskFlowAnalysisData
    extends Serializable
    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 Detail

      • 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 from node1 to node2 iff is is possible that node1 transfers control directly to node2; i.e. iff there exists at least one code path where node2 immediately succeeds node1.

        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