public class NotificationDescriptor extends Object implements Notification
Modifier and Type | Field and 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
|
EMAIL_NOTIFICATION
Constructor and Description |
---|
NotificationDescriptor() |
Modifier and Type | Method and Description |
---|---|
boolean |
getAutoSubscribed() |
String |
getAvailableIn() |
String |
getChannel() |
boolean |
getEnabled() |
List<NotificationEventDescriptor> |
getEvents() |
String |
getLabel() |
String |
getName() |
String |
getSubject() |
String |
getSubjectTemplate() |
String |
getTemplate() |
String |
getTemplateExpr() |
protected String subjectTemplate
protected String templateExpr
protected boolean enabled
protected boolean autoSubscribed
protected String availableIn
protected List<NotificationEventDescriptor> events
public NotificationDescriptor()
public boolean getAutoSubscribed()
getAutoSubscribed
in interface Notification
public String getAvailableIn()
getAvailableIn
in interface Notification
public String getChannel()
getChannel
in interface Notification
public boolean getEnabled()
getEnabled
in interface Notification
public List<NotificationEventDescriptor> getEvents()
public String getLabel()
getLabel
in interface Notification
public String getName()
getName
in interface Notification
public String getSubject()
getSubject
in interface Notification
public String getTemplate()
getTemplate
in interface Notification
public String getSubjectTemplate()
getSubjectTemplate
in interface Notification
public String getTemplateExpr()
getTemplateExpr
in interface Notification
Copyright © 2018 Nuxeo. All rights reserved.