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