public class ArtifactStorageSoftLimitExceededNotification extends AbstractArtifactStorageCappingNotification
ArtifactStorageSoftLimitExceededEvent
occurs.Notification.HtmlImContentProvidingNotification
administrationConfigurationAccessor, templateRenderer, textProvider
NAVIGATION_SOURCE
Constructor and Description |
---|
ArtifactStorageSoftLimitExceededNotification() |
Modifier and Type | Method and Description |
---|---|
boolean |
applyDefaultCssStyles()
Determines if this notification HTML templates should be decorated with default CSS styles.
|
String |
getDescription()
Text describing this notification object - used for logging/debugging purposes.
|
String |
getEmailSubject()
Retrieves the subject for the notification.
|
String |
getHtmlEmailContent()
Generates the html for the html part of an email notification.
|
String |
getTextEmailContent()
Generates the text email content for the notifications
|
getApplicationHost, getContextParams, getIMContent, getStorageCappingEvent, getStorageLimits
addRecipient, excludeRecipient, getCommitUrl, getEvent, getExcludedNotificationRecipients, getHtmlImContent, getNotificationRecipients, getPojoEvent, getRepositoryData, getRepositoryData, setEvent, setEvent, setExcludedNotificationRecipients, setNotificationRecipients
public ArtifactStorageSoftLimitExceededNotification()
@NotNull public String getDescription()
Notification
@Nullable public String getEmailSubject() throws Exception
Notification
Exception
- if there is a problem preventing production of the e-mail subject.@Nullable public String getTextEmailContent() throws Exception
Notification
Exception
- if there is a problem preventing production of the e-mail content.@Nullable public String getHtmlEmailContent() throws Exception
Notification
Exception
- if there is a problem preventing production of the e-mail content.public boolean applyDefaultCssStyles()
Notification
applyDefaultCssStyles
in interface Notification
applyDefaultCssStyles
in class AbstractNotification
NotificationFormatter.applyStyles(String)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.