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
-
Constructor Summary
Constructors Constructor Description DocumentRoutingEscalationListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleEvent(Event event)
Handle the given event.protected void
triggerEsclationRulesExecution(String repositoryName)
-
-
-
Field Detail
-
EXECUTE_ESCALATION_RULE_EVENT
public static final String EXECUTE_ESCALATION_RULE_EVENT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DocumentRoutingEscalationListener
public DocumentRoutingEscalationListener()
-
-
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
protected void triggerEsclationRulesExecution(String repositoryName)
-
-