Class EscalationPropagation
java.lang.Object
org.flowable.engine.impl.bpmn.helper.EscalationPropagation
This class is responsible for finding and executing escalation handlers for BPMN Errors.
Possible escalation handlers include Escalation Intermediate Events and Escalation Event Sub-Processes.
- Author:
- Tijs Rademakers
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static void
executeCatch
(Map<String, List<Event>> eventMap, DelegateExecution delegateExecution, String escalationCode, String escalationName) protected static void
executeEventHandler
(Event event, ExecutionEntity parentExecution, ExecutionEntity currentExecution, String escalationCode, String escalationName) findCatchingEventsForProcess
(String processDefinitionId, String escalationCode) protected static Event
getCatchEventFromList
(List<Event> events, ExecutionEntity parentExecution) protected static EscalationEventDefinition
static void
propagateEscalation
(String escalationCode, String escalationName, DelegateExecution execution) static void
propagateEscalation
(Escalation escalation, DelegateExecution execution)
-
Constructor Details
-
EscalationPropagation
public EscalationPropagation()
-
-
Method Details
-
propagateEscalation
-
propagateEscalation
public static void propagateEscalation(String escalationCode, String escalationName, DelegateExecution execution) -
executeCatch
-
executeEventHandler
protected static void executeEventHandler(Event event, ExecutionEntity parentExecution, ExecutionEntity currentExecution, String escalationCode, String escalationName) -
findCatchingEventsForProcess
-
getCatchEventFromList
-
getEscalationEventDefinition
-