public class ThrowEscalationEventActivityBehavior extends AbstractBpmnActivityBehavior
Modifier and Type | Class and Description |
---|---|
protected class |
ThrowEscalationEventActivityBehavior.EscalationEventDefinitionFinder |
AbstractBpmnActivityBehavior.ErrorDeclarationForProcessInstanceFinder, AbstractBpmnActivityBehavior.ErrorPropagationException
Modifier and Type | Field and Description |
---|---|
protected Escalation |
escalation |
LOG
bpmnActivityBehavior
Constructor and Description |
---|
ThrowEscalationEventActivityBehavior(Escalation escalation) |
Modifier and Type | Method and Description |
---|---|
void |
execute(ActivityExecution execution)
Default behaviour: just leave the activity with no extra functionality.
|
protected void |
executeEscalationHandler(EscalationEventDefinition escalationEventDefinition,
ActivityExecutionMappingCollector activityExecutionMappingCollector) |
protected PvmScope |
getScopeForEscalation(EscalationEventDefinition escalationEventDefinition) |
protected void |
leaveExecution(ActivityExecution execution,
PvmActivity currentActivity,
EscalationEventDefinition escalationEventDefinition) |
checkIfCauseOfExceptionIsBpmnError, createCompensateEventSubscription, doLeave, executeWithErrorPropagation, isCompensationEventSubprocess, isProcessEngineExceptionWithoutCause, isTransactionNotActive, propagateBpmnError, propagateError, propagateException, propagateExceptionAsError, signal, signalCompensationDone
leave, leaveIgnoreConditions
protected final Escalation escalation
public ThrowEscalationEventActivityBehavior(Escalation escalation)
public void execute(ActivityExecution execution) throws Exception
FlowNodeActivityBehavior
execute
in interface CoreActivityBehavior<ActivityExecution>
execute
in interface ActivityBehavior
execute
in class FlowNodeActivityBehavior
Exception
protected void executeEscalationHandler(EscalationEventDefinition escalationEventDefinition, ActivityExecutionMappingCollector activityExecutionMappingCollector)
protected PvmScope getScopeForEscalation(EscalationEventDefinition escalationEventDefinition)
protected void leaveExecution(ActivityExecution execution, PvmActivity currentActivity, EscalationEventDefinition escalationEventDefinition)
Copyright © 2017. All rights reserved.