Class DocumentRoutingEscalationListener
java.lang.Object
org.nuxeo.ecm.platform.routing.core.listener.DocumentRoutingEscalationListener
- All Implemented Interfaces:
EventListener
Triggers the execution of all escalation rules on all running workflows. This listener is notified by the
'executeEscalationRules' event.
- Since:
- 5.7.2
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleEvent
(Event event) Handle the given event.protected void
triggerEsclationRulesExecution
(String repositoryName) Deprecated.since 2023.0, useDocumentRoutingEscalationAction
instead
-
Field Details
-
EXECUTE_ESCALATION_RULE_EVENT
- See Also:
-
USE_LEGACY_CONF_KEY
Deprecated.since 2023.0, no replacementAllows to use legacy escalation rules execution mechanism.- Since:
- 2023.0
- See Also:
-
-
Constructor Details
-
DocumentRoutingEscalationListener
public DocumentRoutingEscalationListener()
-
-
Method Details
-
handleEvent
Description copied from interface:EventListener
Handle the given event. The listener can cancel the event by callingEvent.cancel()
- Specified by:
handleEvent
in interfaceEventListener
- Parameters:
event
- the event
-
triggerEsclationRulesExecution
Deprecated.since 2023.0, useDocumentRoutingEscalationAction
instead
-