Class ArtifactStorageHardLimitExceededNotification

All Implemented Interfaces:
Notification, Notification.HtmlImContentProvidingNotification

public class ArtifactStorageHardLimitExceededNotification extends AbstractArtifactStorageCappingNotification
A notification to be created when ArtifactStorageHardLimitExceededEvent occurs.
  • Constructor Details

    • ArtifactStorageHardLimitExceededNotification

      public ArtifactStorageHardLimitExceededNotification()
  • 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
    • getEmailSubject

      @Nullable public @Nullable String getEmailSubject() throws Exception
      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.
    • 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() throws Exception
      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.
    • applyDefaultCssStyles

      public boolean applyDefaultCssStyles()
      Description copied from interface: Notification
      Determines if this notification HTML templates should be decorated with default CSS styles.
      Specified by:
      applyDefaultCssStyles in interface Notification
      Overrides:
      applyDefaultCssStyles in class AbstractNotification
      Returns:
      true, if default styles should be applied and inlined, false otherwise
      See Also: