com.atlassian.bamboo.notification
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


Method Summary
 com.atlassian.mail.Email updateEmail(com.atlassian.mail.Email email)
          Provides an email object after being populated with content from the Notification and 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, excludeRecipient, getDescription, getEmailSubject, getEvent, getExcludedNotificationRecipients, getHtmlEmailContent, getIMContent, getNotificationRecipients, getTextEmailContent, setEvent, setExcludedNotificationRecipients, setNotificationRecipients
 

Method Detail

updateEmail

@NotNull
com.atlassian.mail.Email updateEmail(@NotNull
                                             com.atlassian.mail.Email email)
Provides an email object after being populated with content from the Notification and 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.


Copyright © 2012 Atlassian. All Rights Reserved.