Class InsecurePrMetadataViolationNotification

java.lang.Object
com.atlassian.bamboo.notification.AbstractNotification
com.atlassian.bamboo.security.validation.InsecurePrMetadataViolationNotification
All Implemented Interfaces:
Notification, Notification.HtmlImContentProvidingNotification

public class InsecurePrMetadataViolationNotification extends AbstractNotification
Notification sent to the author of the last commit on a PR whose metadata failed security validation.
  • Constructor Details

    • InsecurePrMetadataViolationNotification

      public InsecurePrMetadataViolationNotification()
  • 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()
      Description copied from interface: Notification
      Generates the text email content for the notifications
      Returns:
      Email content formatted as text for this notification
    • 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