Class EscalationHandler
java.lang.Object
org.camunda.bpm.engine.impl.bpmn.helper.EscalationHandler
Helper class handling the propagation of escalation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic EscalationEventDefinition
executeEscalation
(ActivityExecution execution, String escalationCode) Walks through the activity execution hierarchy, fetches and executes matching escalation catch eventprotected static void
executeEscalationHandler
(EscalationEventDefinition escalationEventDefinition, ActivityExecutionMappingCollector activityExecutionMappingCollector, String escalationCode) protected static PvmScope
getScopeForEscalation
(EscalationEventDefinition escalationEventDefinition) static void
propagateEscalation
(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)
-