Interface ExtendedNotification
-
- All Superinterfaces:
Notification
- All Known Implementing Classes:
AbstractCompletedNotification,AfterXFailedNotification,BuildCompletedNotification,BuildErrorNotification,BuildHungNotification,BuildMissingCapableAgentNotification,BuildQueueTimeoutNotification,ChainCompletedNotification,CommentNotification,StageCompletedNotification
public interface ExtendedNotification extends Notification
Provides the Notification object with a way to add anything else to the email. For example adding attachments
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.atlassian.bamboo.notification.Notification
Notification.HtmlImContentProvidingNotification
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull com.atlassian.mail.EmailupdateEmail(@NotNull com.atlassian.mail.Email email)Provides an email object after being populated with content from theNotificationand Bamboo's defaults This email may be a text email, html email or a Multipart email-
Methods inherited from interface com.atlassian.bamboo.notification.Notification
addRecipient, applyDefaultCssStyles, excludeRecipient, getDescription, getEmailSubject, getEvent, getExcludedNotificationRecipients, getHtmlEmailContent, getIMContent, getNotificationRecipients, getPojoEvent, getTextEmailContent, setEvent, setEvent, setExcludedNotificationRecipients, setNotificationRecipients
-
-
-
-
Method Detail
-
updateEmail
@NotNull @NotNull com.atlassian.mail.Email updateEmail(@NotNull @NotNull com.atlassian.mail.Email email)Provides an email object after being populated with content from theNotificationand Bamboo's defaults This email may be a text email, html email or a Multipart email- Parameters:
email-- Returns:
- The email objected updated with anyt further information / changes required.
-
-