Class NotificationDescriptor
- java.lang.Object
-
- org.nuxeo.ecm.platform.ec.notification.service.NotificationDescriptor
-
- All Implemented Interfaces:
Serializable,Notification
public class NotificationDescriptor extends Object implements Notification
- Author:
- Narcis Paslaru, Thierry Martins
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanautoSubscribedprotected StringavailableInprotected Stringchannelprotected booleanenabledprotected List<NotificationEventDescriptor>eventsprotected Stringlabelprotected Stringnameprotected Stringsubjectprotected StringsubjectTemplateprotected Stringtemplateprotected StringtemplateExprThe mail template name will be dinamycally evaluated from a Mvel exp-
Fields inherited from interface org.nuxeo.ecm.platform.notification.api.Notification
EMAIL_NOTIFICATION
-
-
Constructor Summary
Constructors Constructor Description NotificationDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetAutoSubscribed()StringgetAvailableIn()StringgetChannel()booleangetEnabled()List<NotificationEventDescriptor>getEvents()StringgetLabel()StringgetName()StringgetSubject()StringgetSubjectTemplate()StringgetTemplate()StringgetTemplateExpr()
-
-
-
Field Detail
-
subjectTemplate
protected String subjectTemplate
-
templateExpr
protected String 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
protected String availableIn
-
events
protected List<NotificationEventDescriptor> events
-
-
Constructor Detail
-
NotificationDescriptor
public NotificationDescriptor()
-
-
Method Detail
-
getAutoSubscribed
public boolean getAutoSubscribed()
- Specified by:
getAutoSubscribedin interfaceNotification- Returns:
- the autoSubscribed.
-
getAvailableIn
public String getAvailableIn()
- Specified by:
getAvailableInin interfaceNotification- Returns:
- the availableIn.
-
getChannel
public String getChannel()
- Specified by:
getChannelin interfaceNotification- Returns:
- the channel.
-
getEnabled
public boolean getEnabled()
- Specified by:
getEnabledin interfaceNotification
-
getEvents
public List<NotificationEventDescriptor> getEvents()
-
getLabel
public String getLabel()
- Specified by:
getLabelin interfaceNotification
-
getName
public String getName()
- Specified by:
getNamein interfaceNotification- Returns:
- the name.
-
getSubject
public String getSubject()
- Specified by:
getSubjectin interfaceNotification- Returns:
- the subject.
-
getTemplate
public String getTemplate()
- Specified by:
getTemplatein interfaceNotification- Returns:
- the template.
-
getSubjectTemplate
public String getSubjectTemplate()
- Specified by:
getSubjectTemplatein interfaceNotification- Returns:
- the subject template.
-
getTemplateExpr
public String getTemplateExpr()
- Specified by:
getTemplateExprin interfaceNotification- Returns:
- the mvelExpr used to evaluate the mail template name
-
-