public class ExecutionGraphUtil extends Object
Constructor and Description |
---|
ExecutionGraphUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isReachable(org.activiti.bpmn.model.Process process,
org.activiti.bpmn.model.FlowNode sourceElement,
org.activiti.bpmn.model.FlowNode targetElement,
Set<String> visitedElements) |
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.
|
static List<ExecutionEntity> |
orderFromLeafToRoot(Collection<ExecutionEntity> executions) |
static List<ExecutionEntity> |
orderFromRootToLeaf(Collection<ExecutionEntity> executions)
Takes in a collection of executions belonging to the same process instance.
|
public static List<ExecutionEntity> orderFromRootToLeaf(Collection<ExecutionEntity> executions)
public static List<ExecutionEntity> orderFromLeafToRoot(Collection<ExecutionEntity> executions)
public static boolean isReachable(String processDefinitionId, String sourceElementId, String targetElementId)
Copyright © 2015 Alfresco. All rights reserved.