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.FACET
facet if the propertysnapshotVersioningOption
is set.- Since:
- 5.7
- Author:
- Thomas Roger
-
-
Field Summary
Fields Modifier and Type Field Description static String
SNAPSHOT_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:EventListener
Handle the given event. The listener can cancel the event by callingEvent.cancel()
- Specified by:
handleEvent
in interfaceEventListener
- Parameters:
event
- the event
-
-