Class EscalationPropagation
- java.lang.Object
-
- org.flowable.engine.impl.bpmn.helper.EscalationPropagation
-
public class EscalationPropagation extends Object
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 Constructor Description EscalationPropagation()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static voidexecuteCatch(Map<String,List<org.flowable.bpmn.model.Event>> eventMap, DelegateExecution delegateExecution, String escalationCode, String escalationName)protected static voidexecuteEventHandler(org.flowable.bpmn.model.Event event, ExecutionEntity parentExecution, ExecutionEntity currentExecution, String escalationCode, String escalationName)protected static Map<String,List<org.flowable.bpmn.model.Event>>findCatchingEventsForProcess(String processDefinitionId, String escalationCode)protected static org.flowable.bpmn.model.EventgetCatchEventFromList(List<org.flowable.bpmn.model.Event> events, ExecutionEntity parentExecution)protected static org.flowable.bpmn.model.EscalationEventDefinitiongetEscalationEventDefinition(org.flowable.bpmn.model.Event event)static voidpropagateEscalation(String escalationCode, String escalationName, DelegateExecution execution)static voidpropagateEscalation(org.flowable.bpmn.model.Escalation escalation, DelegateExecution execution)
-
-
-
Method Detail
-
propagateEscalation
public static void propagateEscalation(org.flowable.bpmn.model.Escalation escalation, DelegateExecution execution)
-
propagateEscalation
public static void propagateEscalation(String escalationCode, String escalationName, DelegateExecution execution)
-
executeCatch
protected static void executeCatch(Map<String,List<org.flowable.bpmn.model.Event>> eventMap, DelegateExecution delegateExecution, String escalationCode, String escalationName)
-
executeEventHandler
protected static void executeEventHandler(org.flowable.bpmn.model.Event event, ExecutionEntity parentExecution, ExecutionEntity currentExecution, String escalationCode, String escalationName)
-
findCatchingEventsForProcess
protected static Map<String,List<org.flowable.bpmn.model.Event>> findCatchingEventsForProcess(String processDefinitionId, String escalationCode)
-
getCatchEventFromList
protected static org.flowable.bpmn.model.Event getCatchEventFromList(List<org.flowable.bpmn.model.Event> events, ExecutionEntity parentExecution)
-
getEscalationEventDefinition
protected static org.flowable.bpmn.model.EscalationEventDefinition getEscalationEventDefinition(org.flowable.bpmn.model.Event event)
-
-