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
Modifier and TypeFieldDescriptionprotected boolean
protected String
protected String
protected boolean
protected List<NotificationEventDescriptor>
protected String
protected String
protected String
protected String
protected String
protected String
The 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
-
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:
getAutoSubscribed
in interfaceNotification
- Returns:
- the autoSubscribed.
-
getAvailableIn
- Specified by:
getAvailableIn
in interfaceNotification
- Returns:
- the availableIn.
-
getChannel
- Specified by:
getChannel
in interfaceNotification
- Returns:
- the channel.
-
getEnabled
public boolean getEnabled()- Specified by:
getEnabled
in interfaceNotification
-
getEvents
-
getLabel
- Specified by:
getLabel
in interfaceNotification
-
getName
- Specified by:
getName
in interfaceNotification
- Returns:
- the name.
-
getSubject
- Specified by:
getSubject
in interfaceNotification
- Returns:
- the subject.
-
getTemplate
- Specified by:
getTemplate
in interfaceNotification
- Returns:
- the template.
-
getSubjectTemplate
- Specified by:
getSubjectTemplate
in interfaceNotification
- Returns:
- the subject template.
-
getTemplateExpr
- Specified by:
getTemplateExpr
in interfaceNotification
- Returns:
- the mvelExpr used to evaluate the mail template name
-