Package org.flowable.engine.impl.util
Class ExecutionGraphUtil
- java.lang.Object
-
- org.flowable.engine.impl.util.ExecutionGraphUtil
-
public class ExecutionGraphUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description ExecutionGraphUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<String>getBoundaryEventActivityIds(DelegateExecution execution)Returns the list of boundary event activity ids that are in the the process model, associated with the current activity of the passed execution.static DelegateExecutiongetMultiInstanceRootExecution(ExecutionEntity execution)static DelegateExecutiongetParentInstanceExecutionInMultiInstance(ExecutionEntity execution)protected static booleanisInEventSubprocess(org.flowable.bpmn.model.FlowNode flowNode)static booleanisReachable(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.static booleanisReachable(org.flowable.bpmn.model.Process process, org.flowable.bpmn.model.FlowNode sourceElement, org.flowable.bpmn.model.FlowNode targetElement, Set<String> visitedElements)
-
-
-
Method Detail
-
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.
-
isReachable
public static boolean isReachable(org.flowable.bpmn.model.Process process, org.flowable.bpmn.model.FlowNode sourceElement, org.flowable.bpmn.model.FlowNode targetElement, Set<String> visitedElements)
-
isInEventSubprocess
protected static boolean isInEventSubprocess(org.flowable.bpmn.model.FlowNode flowNode)
-
getMultiInstanceRootExecution
public static DelegateExecution getMultiInstanceRootExecution(ExecutionEntity execution)
-
getParentInstanceExecutionInMultiInstance
public static DelegateExecution getParentInstanceExecutionInMultiInstance(ExecutionEntity execution)
-
getBoundaryEventActivityIds
public static List<String> getBoundaryEventActivityIds(DelegateExecution execution)
Returns the list of boundary event activity ids that are in the the process model, associated with the current activity of the passed execution. Note that no check if made here whether this an active child execution for those boundary events.
-
-