Class EscalationHandler
- java.lang.Object
-
- org.camunda.bpm.engine.impl.bpmn.helper.EscalationHandler
-
public class EscalationHandler extends Object
Helper class handling the propagation of escalation.
-
-
Constructor Summary
Constructors Constructor Description EscalationHandler()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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)
-
-
-
Method Detail
-
propagateEscalation
public static void propagateEscalation(ActivityExecution execution, String escalationCode)
-
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)
-
-