Class UserResponsibilityAddedNotification
java.lang.Object
com.atlassian.bamboo.notification.AbstractNotification
com.atlassian.bamboo.brokenbuildtracker.notifications.AbstractTrackingNotification
com.atlassian.bamboo.brokenbuildtracker.notifications.UserResponsibilityAddedNotification
- All Implemented Interfaces:
Notification
,Notification.HtmlImContentProvidingNotification
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.bamboo.notification.Notification
Notification.HtmlImContentProvidingNotification
-
Field Summary
Fields inherited from class com.atlassian.bamboo.notification.AbstractNotification
NAVIGATION_SOURCE
-
Constructor Summary
ConstructorDescriptionUserResponsibilityAddedNotification
(BambooUserManager bambooUserManager, CachedPlanManager cachedPlanManager, ResultsSummaryManager resultsSummaryManager, TemplateRenderer templateRenderer) -
Method Summary
Modifier and TypeMethodDescription@NotNull String
Text describing this notification object - used for logging/debugging purposes.Retrieves the subject for the notification.Generates the html for the html part of an email notification.@Nullable String
@Nullable String
Retrieves the content for the IM notificationGenerates the text email content for the notificationsMethods inherited from class com.atlassian.bamboo.brokenbuildtracker.notifications.AbstractTrackingNotification
renderTemplate
Methods inherited from class com.atlassian.bamboo.notification.AbstractNotification
addRecipient, applyDefaultCssStyles, excludeRecipient, getCommitUrl, getEvent, getExcludedNotificationRecipients, getNotificationRecipients, getPojoEvent, getRepositoryData, getRepositoryData, setEvent, setEvent, setExcludedNotificationRecipients, setNotificationRecipients
-
Constructor Details
-
UserResponsibilityAddedNotification
public UserResponsibilityAddedNotification(BambooUserManager bambooUserManager, CachedPlanManager cachedPlanManager, ResultsSummaryManager resultsSummaryManager, TemplateRenderer templateRenderer)
-
-
Method Details
-
getDescription
Description copied from interface:Notification
Text describing this notification object - used for logging/debugging purposes.- Returns:
- Notification's description
-
getTextEmailContent
Description copied from interface:Notification
Generates the text email content for the notifications- Returns:
- Email content formatted as text for this notification
- Throws:
Exception
- if there is a problem preventing production of the e-mail content.
-
getHtmlEmailContent
Description copied from interface:Notification
Generates the html for the html part of an email notification.- Returns:
- Email content formatted as HTML for this notification
- Throws:
Exception
- if there is a problem preventing production of the e-mail content.
-
getEmailSubject
Description copied from interface:Notification
Retrieves the subject for the notification.- Returns:
- Email subject for this notification
- Throws:
Exception
- if there is a problem preventing production of the e-mail subject.
-
getIMContent
Description copied from interface:Notification
Retrieves the content for the IM notification- Returns:
- IM message content for this notification
-
getHtmlImContent
- Specified by:
getHtmlImContent
in interfaceNotification.HtmlImContentProvidingNotification
- Overrides:
getHtmlImContent
in classAbstractNotification
-