Class DocumentRoutingWorkflowInstancesCleanup
- java.lang.Object
-
- org.nuxeo.ecm.platform.routing.core.listener.DocumentRoutingWorkflowInstancesCleanup
-
- All Implemented Interfaces:
PostCommitEventListener
public class DocumentRoutingWorkflowInstancesCleanup extends Object implements PostCommitEventListener
- Since:
- 5.8
-
-
Field Summary
Fields Modifier and Type Field Description static String
CLEANUP_WORKFLOW_EVENT_NAME
static String
CLEANUP_WORKFLOW_INSTANCES_BATCH_SIZE_PROPERTY
static String
CLEANUP_WORKFLOW_INSTANCES_PROPERTY
static String
CLEANUP_WORKFLOW_REPO_NAME_PROPERTY
-
Constructor Summary
Constructors Constructor Description DocumentRoutingWorkflowInstancesCleanup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleEvent(EventBundle events)
Handles the set of events that were raised during the life of an user operation.
-
-
-
Field Detail
-
CLEANUP_WORKFLOW_INSTANCES_PROPERTY
public static final String CLEANUP_WORKFLOW_INSTANCES_PROPERTY
- See Also:
- Constant Field Values
-
CLEANUP_WORKFLOW_INSTANCES_BATCH_SIZE_PROPERTY
public static final String CLEANUP_WORKFLOW_INSTANCES_BATCH_SIZE_PROPERTY
- See Also:
- Constant Field Values
-
CLEANUP_WORKFLOW_REPO_NAME_PROPERTY
public static final String CLEANUP_WORKFLOW_REPO_NAME_PROPERTY
- See Also:
- Constant Field Values
-
CLEANUP_WORKFLOW_EVENT_NAME
public static final String CLEANUP_WORKFLOW_EVENT_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DocumentRoutingWorkflowInstancesCleanup
public DocumentRoutingWorkflowInstancesCleanup()
-
-
Method Detail
-
handleEvent
public void handleEvent(EventBundle events)
Description copied from interface:PostCommitEventListener
Handles the set of events that were raised during the life of an user operation.The events are fired as a
BundleEvent
after the transaction is committed.- Specified by:
handleEvent
in interfacePostCommitEventListener
- Parameters:
events
- the events to handle
-
-