Class RssNotification

java.lang.Object
com.atlassian.bamboo.notification.AbstractNotification
com.atlassian.bamboo.notification.rss.RssNotification
All Implemented Interfaces:
Notification, Notification.HtmlImContentProvidingNotification

public class RssNotification extends AbstractNotification
  • Field Details

  • Constructor Details

    • RssNotification

      public RssNotification()
  • Method Details

    • getDescription

      @NotNull public @NotNull String getDescription()
      Description copied from interface: Notification
      Text describing this notification object - used for logging/debugging purposes.
      Returns:
      Notification's description
    • getTextEmailContent

      @Nullable public @Nullable String getTextEmailContent() throws Exception
      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

      @Nullable public @Nullable String 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
    • getEmailSubject

      @Nullable public @Nullable String getEmailSubject()
      Description copied from interface: Notification
      Retrieves the subject for the notification.
      Returns:
      Email subject for this notification
    • getIMContent

      @Nullable public @Nullable String getIMContent()
      Description copied from interface: Notification
      Retrieves the content for the IM notification
      Returns:
      IM message content for this notification
    • getHtmlImContent

      @Nullable public @Nullable String getHtmlImContent()
      Specified by:
      getHtmlImContent in interface Notification.HtmlImContentProvidingNotification
      Overrides:
      getHtmlImContent in class AbstractNotification
    • getEvent

      @Nullable public @Nullable RssEvent getEvent()
      Description copied from interface: Notification
      Retrieves the event object that triggered this notification. Before 10.0 this method returned a com.atlassian.event.Event object. Now it returns BambooEvent.
      Specified by:
      getEvent in interface Notification
      Overrides:
      getEvent in class AbstractNotification
      Returns:
      Event object that triggered this notification
    • populateContext

      protected void populateContext(@NotNull @NotNull Map<String,Object> context)
    • setTemplateRenderer

      public void setTemplateRenderer(TemplateRenderer templateRenderer)