Class DocumentRoutingEscalationListener
- java.lang.Object
-
- org.nuxeo.ecm.platform.routing.core.listener.DocumentRoutingEscalationListener
-
- All Implemented Interfaces:
EventListener
public class DocumentRoutingEscalationListener extends Object implements 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
Fields Modifier and Type Field Description static String
EXECUTE_ESCALATION_RULE_EVENT
static String
USE_LEGACY_CONF_KEY
Deprecated.since 2023.0, no replacement
-
Constructor Summary
Constructors Constructor Description DocumentRoutingEscalationListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
handleEvent(Event event)
Handle the given event.protected void
triggerEsclationRulesExecution(String repositoryName)
Deprecated.since 2023.0, useDocumentRoutingEscalationAction
instead
-
-
-
Field Detail
-
EXECUTE_ESCALATION_RULE_EVENT
public static final String EXECUTE_ESCALATION_RULE_EVENT
- See Also:
- Constant Field Values
-
USE_LEGACY_CONF_KEY
@Deprecated public static final String USE_LEGACY_CONF_KEY
Deprecated.since 2023.0, no replacementAllows to use legacy escalation rules execution mechanism.- Since:
- 2023.0
- See Also:
- Constant Field Values
-
-
Method Detail
-
handleEvent
public void handleEvent(Event event)
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 protected void triggerEsclationRulesExecution(String repositoryName)
Deprecated.since 2023.0, useDocumentRoutingEscalationAction
instead
-
-