Class NotificationDescriptor
java.lang.Object
org.nuxeo.ecm.platform.ec.notification.service.NotificationDescriptor
- All Implemented Interfaces:
Serializable,Notification
- Author:
- Narcis Paslaru, Thierry Martins
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected Stringprotected Stringprotected booleanprotected List<NotificationEventDescriptor> protected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected StringThe mail template name will be dinamycally evaluated from a Mvel expFields inherited from interface org.nuxeo.ecm.platform.notification.api.Notification
EMAIL_NOTIFICATION -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
name
-
label
-
channel
-
subject
-
subjectTemplate
-
template
-
templateExpr
The mail template name will be dinamycally evaluated from a Mvel exp- Since:
- 5.6
-
enabled
protected boolean enabled -
autoSubscribed
protected boolean autoSubscribed -
availableIn
-
events
-
-
Constructor Details
-
NotificationDescriptor
public NotificationDescriptor()
-
-
Method Details
-
getAutoSubscribed
public boolean getAutoSubscribed()- Specified by:
getAutoSubscribedin interfaceNotification- Returns:
- the autoSubscribed.
-
getAvailableIn
- Specified by:
getAvailableInin interfaceNotification- Returns:
- the availableIn.
-
getChannel
- Specified by:
getChannelin interfaceNotification- Returns:
- the channel.
-
getEnabled
public boolean getEnabled()- Specified by:
getEnabledin interfaceNotification
-
getEvents
-
getLabel
- Specified by:
getLabelin interfaceNotification
-
getName
- Specified by:
getNamein interfaceNotification- Returns:
- the name.
-
getSubject
- Specified by:
getSubjectin interfaceNotification- Returns:
- the subject.
-
getTemplate
- Specified by:
getTemplatein interfaceNotification- Returns:
- the template.
-
getSubjectTemplate
- Specified by:
getSubjectTemplatein interfaceNotification- Returns:
- the subject template.
-
getTemplateExpr
- Specified by:
getTemplateExprin interfaceNotification- Returns:
- the mvelExpr used to evaluate the mail template name
-