Package org.nuxeo.snapshot.listeners
Class SnapshotableListener
- java.lang.Object
-
- org.nuxeo.snapshot.listeners.SnapshotableListener
-
- All Implemented Interfaces:
EventListener
public class SnapshotableListener extends Object implements EventListener
Listener snapshoting documents with theSnapshotable.FACETfacet if the propertysnapshotVersioningOptionis set.- Since:
- 5.7
- Author:
- Thomas Roger
-
-
Field Summary
Fields Modifier and Type Field Description static StringSNAPSHOT_VERSIONING_OPTION_KEY
-
Constructor Summary
Constructors Constructor Description SnapshotableListener()
-
-
-
Field Detail
-
SNAPSHOT_VERSIONING_OPTION_KEY
public static final String SNAPSHOT_VERSIONING_OPTION_KEY
- 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
-
-