|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.engine.impl.bpmn.helper.ScopeUtil
public class ScopeUtil
| Constructor Summary | |
|---|---|
ScopeUtil()
|
|
| Method Summary | |
|---|---|
static void |
createEventScopeExecution(ExecutionEntity execution)
creates an event scope for the given execution: create a new event scope execution under the parent of the given execution and move all event subscriptions to that execution. |
static ActivityImpl |
findInParentScopesByBehaviorType(ActivityImpl activity,
Class<? extends ActivityBehavior> behaviorType)
|
static ActivityExecution |
findScopeExecution(ActivityExecution execution)
Find the next scope execution in the parent execution hierarchy That method works different than findScopeExecutionForScope(org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity, org.camunda.bpm.engine.impl.pvm.PvmScope)
which returns the most outer scope execution. |
static ExecutionEntity |
findScopeExecutionForScope(ExecutionEntity execution,
PvmScope scopeActivity)
returns the top-most execution sitting in an activity part of the scope defined by 'scopeActivitiy'. |
static void |
throwCompensationEvent(List<CompensateEventSubscriptionEntity> eventSubscriptions,
ActivityExecution execution,
boolean async)
we create a separate execution for each compensation handler invocation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScopeUtil()
| Method Detail |
|---|
public static ActivityExecution findScopeExecution(ActivityExecution execution)
findScopeExecutionForScope(org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity, org.camunda.bpm.engine.impl.pvm.PvmScope)
which returns the most outer scope execution.
execution - the execution from which to start the search
public static ExecutionEntity findScopeExecutionForScope(ExecutionEntity execution,
PvmScope scopeActivity)
public static ActivityImpl findInParentScopesByBehaviorType(ActivityImpl activity,
Class<? extends ActivityBehavior> behaviorType)
public static void throwCompensationEvent(List<CompensateEventSubscriptionEntity> eventSubscriptions,
ActivityExecution execution,
boolean async)
public static void createEventScopeExecution(ExecutionEntity execution)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||