Class CommentNotificationVeto
- java.lang.Object
-
- org.nuxeo.ecm.platform.comment.notification.CommentNotificationVeto
-
- All Implemented Interfaces:
NotificationListenerVeto
public class CommentNotificationVeto extends Object implements NotificationListenerVeto
Veto that prevents sending notifications whose type isEXCLUDED_EVENT_TYPES
on the document comment model.- Since:
- 11.1
-
-
Field Summary
Fields Modifier and Type Field Description protected static Set<String>
ACCEPTED_COMMENT_TYPE
protected static Set<String>
EXCLUDED_EVENT_TYPES
-
Constructor Summary
Constructors Constructor Description CommentNotificationVeto()
-
-
-
Method Detail
-
accept
public boolean accept(Event event)
- Specified by:
accept
in interfaceNotificationListenerVeto
-
-