public class RssNotification extends AbstractNotification
| Modifier and Type | Class and Description |
|---|---|
static class |
RssNotification.CommitWithUrl |
static class |
RssNotification.RssAffectedDeployment |
static class |
RssNotification.RssAffectedPlan |
Notification.HtmlImContentProvidingNotification| Modifier and Type | Field and Description |
|---|---|
static String |
SPEC_HTML_ERROR_EMAIL_TEMPLATE |
static String |
SPEC_HTML_SUCCESS_EMAIL_TEMPLATE |
static String |
SPEC_TEXT_ERROR_EMAIL_TEMPLATE |
static String |
SPEC_TEXT_SUCCESS_EMAIL_TEMPLATE |
NAVIGATION_SOURCE| Constructor and Description |
|---|
RssNotification() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Text describing this notification object - used for logging/debugging purposes.
|
String |
getEmailSubject()
Retrieves the subject for the notification.
|
RssEvent |
getEvent()
Retrieves the event object that triggered this notification
|
String |
getHtmlEmailContent()
Generates the html for the html part of an email notification.
|
String |
getHtmlImContent() |
String |
getIMContent()
Retrieves the content for the IM notification
|
String |
getTextEmailContent()
Generates the text email content for the notifications
|
protected void |
populateContext(Map<String,Object> context) |
void |
setPlanManager(PlanManager planManager) |
void |
setTemplateRenderer(TemplateRenderer templateRenderer) |
addRecipient, applyDefaultCssStyles, excludeRecipient, getExcludedNotificationRecipients, getNotificationRecipients, getPojoEvent, getRepositoryData, getRepositoryData, setEvent, setEvent, setExcludedNotificationRecipients, setNotificationRecipientspublic static final String SPEC_TEXT_ERROR_EMAIL_TEMPLATE
public static final String SPEC_HTML_ERROR_EMAIL_TEMPLATE
public static final String SPEC_TEXT_SUCCESS_EMAIL_TEMPLATE
public static final String SPEC_HTML_SUCCESS_EMAIL_TEMPLATE
@NotNull public String getDescription()
Notification@Nullable public String getTextEmailContent() throws Exception
NotificationException - if there is a problem preventing production of the e-mail content.@Nullable public String getHtmlEmailContent() throws Exception
NotificationException - if there is a problem preventing production of the e-mail content.@Nullable public String getEmailSubject() throws Exception
NotificationException - if there is a problem preventing production of the e-mail subject.@Nullable public String getIMContent()
Notification@Nullable public String getHtmlImContent()
getHtmlImContent in interface Notification.HtmlImContentProvidingNotificationgetHtmlImContent in class AbstractNotification@Nullable public RssEvent getEvent()
NotificationgetEvent in interface NotificationgetEvent in class AbstractNotificationpublic void setPlanManager(PlanManager planManager)
public void setTemplateRenderer(TemplateRenderer templateRenderer)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.