Interface IWorkflowFlowAnalysis

  • All Superinterfaces:
    Serializable
    All Known Implementing Classes:
    WorkflowFlowAnalysis

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

      • getTaskAnalysis

        ITaskFlowAnalysis getTaskAnalysis​(UUID taskUuid)
        Parameters:
        taskUuid - UUID of a task that was analyzed.
        Returns:
        The control flow analysis for the given task.
        See Also:
        ITaskFlowAnalysis
      • isNodePotentiallyReachable

        default boolean isNodePotentiallyReachable​(NodeKey sourceKey,
                                                   NodeKey targetKey)
        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:
        ITaskFlowAnalysis.isPotentiallyReachable(NodeKey, NodeKey)