Class EscalationHandler
java.lang.Object
org.camunda.bpm.engine.impl.bpmn.helper.EscalationHandler
Helper class handling the propagation of escalation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EscalationEventDefinitionexecuteEscalation(ActivityExecution execution, String escalationCode) Walks through the activity execution hierarchy, fetches and executes matching escalation catch eventprotected static voidexecuteEscalationHandler(EscalationEventDefinition escalationEventDefinition, ActivityExecutionMappingCollector activityExecutionMappingCollector, String escalationCode) protected static PvmScopegetScopeForEscalation(EscalationEventDefinition escalationEventDefinition) static voidpropagateEscalation(ActivityExecution execution, String escalationCode)
-
Constructor Details
-
EscalationHandler
public EscalationHandler()
-
-
Method Details
-
propagateEscalation
-
executeEscalation
public static EscalationEventDefinition executeEscalation(ActivityExecution execution, String escalationCode) Walks through the activity execution hierarchy, fetches and executes matching escalation catch event- Returns:
- the escalation event definition if found matching escalation catch event
-
executeEscalationHandler
protected static void executeEscalationHandler(EscalationEventDefinition escalationEventDefinition, ActivityExecutionMappingCollector activityExecutionMappingCollector, String escalationCode) -
getScopeForEscalation
protected static PvmScope getScopeForEscalation(EscalationEventDefinition escalationEventDefinition)
-