public class UserResponsibilityRemovedNotification extends AbstractTrackingNotification
Notification.HtmlImContentProvidingNotification
NAVIGATION_SOURCE
Constructor and Description |
---|
UserResponsibilityRemovedNotification(BambooUserManager bambooUserManager,
CachedPlanManager cachedPlanManager,
ResultsSummaryManager resultsSummaryManager,
TemplateRenderer templateRenderer) |
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.
|
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
|
renderTemplate
addRecipient, applyDefaultCssStyles, excludeRecipient, getCommitUrl, getEvent, getExcludedNotificationRecipients, getNotificationRecipients, getPojoEvent, getRepositoryData, getRepositoryData, setEvent, setEvent, setExcludedNotificationRecipients, setNotificationRecipients
public UserResponsibilityRemovedNotification(BambooUserManager bambooUserManager, CachedPlanManager cachedPlanManager, ResultsSummaryManager resultsSummaryManager, TemplateRenderer templateRenderer)
@NotNull public String getDescription()
Notification
public String getTextEmailContent() throws Exception
Notification
Exception
- if there is a problem preventing production of the e-mail content.public String getHtmlEmailContent() throws Exception
Notification
Exception
- if there is a problem preventing production of the e-mail content.public String getEmailSubject() throws Exception
Notification
Exception
- 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.HtmlImContentProvidingNotification
getHtmlImContent
in class AbstractNotification
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.