public class NodeVersionHistoryListener extends DefaultEventListener
availableDuringPublish, operationTypes, propertiesToIgnore, workspace| Constructor and Description |
|---|
NodeVersionHistoryListener() |
| Modifier and Type | Method and Description |
|---|---|
int |
getEventTypes() |
void |
onEvent(javax.jcr.observation.EventIterator events)
Processes a bundle of events to detect if this is a site deletion.
|
static void |
setDisabled(boolean disabled)
Disables or enables the processing of JCR events after site deletion, which triggers the background job for purging of node version
histories for the nodes of the deleted site.
Note, please, this method is only used during the execution of tests. |
void |
setSchedulerService(SchedulerService schedulerService)
Injects an instance of
SchedulerService. |
getMoveFilteredEvents, getNodeTypes, getOperationTypes, getPath, getUuids, getWorkspace, isAvailableDuringPublish, isDeep, isExternal, isSupportedOperationType, setAvailableDuringPublish, setOperationTypes, setWorkspacepublic int getEventTypes()
getEventTypes in class DefaultEventListenerpublic void onEvent(javax.jcr.observation.EventIterator events)
events - a bundle of events to processpublic void setSchedulerService(SchedulerService schedulerService)
SchedulerService.schedulerService - the schedulerService to setpublic static void setDisabled(boolean disabled)
disabled - true if the listener should be disabled; false otherwiseCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.