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 StringEXECUTE_ESCALATION_RULE_EVENTstatic StringUSE_LEGACY_CONF_KEYDeprecated.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 voidhandleEvent(Event event)Handle the given event.protected voidtriggerEsclationRulesExecution(String repositoryName)Deprecated.since 2023.0, useDocumentRoutingEscalationActioninstead
-
-
-
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:EventListenerHandle the given event. The listener can cancel the event by callingEvent.cancel()- Specified by:
handleEventin interfaceEventListener- Parameters:
event- the event
-
triggerEsclationRulesExecution
@Deprecated protected void triggerEsclationRulesExecution(String repositoryName)
Deprecated.since 2023.0, useDocumentRoutingEscalationActioninstead
-
-