Class ExecutionGraphUtil


  • public class ExecutionGraphUtil
    extends Object
    • Constructor Detail

      • ExecutionGraphUtil

        public ExecutionGraphUtil()
    • Method Detail

      • orderFromRootToLeaf

        public static List<ExecutionEntity> orderFromRootToLeaf​(Collection<ExecutionEntity> executions)
        Takes in a collection of executions belonging to the same process instance. Orders the executions in a list, first elements are the leaf, last element is the root elements.
      • isReachable

        public static boolean isReachable​(String processDefinitionId,
                                          String sourceElementId,
                                          String targetElementId)
        Verifies if the element with the given source identifier can reach the element with the target identifier through following sequence flow.