|
||||||||||
| 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.CompensationUtil
public class CompensationUtil
| Field Summary | |
|---|---|
static String |
SIGNAL_COMPENSATION_DONE
name of the signal that is thrown when a compensation handler completed |
| Constructor Summary | |
|---|---|
CompensationUtil()
|
|
| Method Summary | |
|---|---|
static List<CompensateEventSubscriptionEntity> |
collectCompensateEventSubscriptionsForActivity(ActivityExecution execution,
String activityRef)
Collect all compensate event subscriptions for activity on the scope of given execution. |
static List<CompensateEventSubscriptionEntity> |
collectCompensateEventSubscriptionsForScope(ActivityExecution execution)
Collect all compensate event subscriptions for scope of given execution. |
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. |
protected static ActivityImpl |
getEventScopeCompensationHandler(ExecutionEntity execution)
In the context when an event scope execution is created (i.e. |
protected static boolean |
hasCompensationEventSubprocess(ActivityImpl activity)
|
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 |
| Field Detail |
|---|
public static final String SIGNAL_COMPENSATION_DONE
| Constructor Detail |
|---|
public CompensationUtil()
| Method Detail |
|---|
public static void throwCompensationEvent(List<CompensateEventSubscriptionEntity> eventSubscriptions,
ActivityExecution execution,
boolean async)
public static void createEventScopeExecution(ExecutionEntity execution)
protected static boolean hasCompensationEventSubprocess(ActivityImpl activity)
protected static ActivityImpl getEventScopeCompensationHandler(ExecutionEntity execution)
public static List<CompensateEventSubscriptionEntity> collectCompensateEventSubscriptionsForScope(ActivityExecution execution)
public static List<CompensateEventSubscriptionEntity> collectCompensateEventSubscriptionsForActivity(ActivityExecution execution,
String activityRef)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||