Class VersionVeto
- java.lang.Object
-
- org.nuxeo.ecm.platform.ec.notification.VersionVeto
-
- All Implemented Interfaces:
NotificationListenerVeto
public class VersionVeto extends Object implements NotificationListenerVeto
Veto not to send notification when a version is the source document of the event. Notifications on versions are not really relevant, there should be another event on the live document that provides a more specific notification For instance, use documentCheckedIn on the live document, instead of documentCreated on the version- Since:
- 5.7
- Author:
- Thierry Martins
-
-
Constructor Summary
Constructors Constructor Description VersionVeto()
-
-
-
Method Detail
-
accept
public boolean accept(Event event)
- Specified by:
accept
in interfaceNotificationListenerVeto
-
-