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