Class ArtifactStorageHardLimitExceededNotification
java.lang.Object
com.atlassian.bamboo.notification.AbstractNotification
com.atlassian.bamboo.storage.notification.AbstractArtifactStorageCappingNotification
com.atlassian.bamboo.storage.notification.ArtifactStorageHardLimitExceededNotification
- All Implemented Interfaces:
Notification,Notification.HtmlImContentProvidingNotification
public class ArtifactStorageHardLimitExceededNotification
extends AbstractArtifactStorageCappingNotification
A notification to be created when
ArtifactStorageHardLimitExceededEvent occurs.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.bamboo.notification.Notification
Notification.HtmlImContentProvidingNotification -
Field Summary
Fields inherited from class com.atlassian.bamboo.storage.notification.AbstractArtifactStorageCappingNotification
administrationConfigurationAccessor, templateRenderer, textProviderFields inherited from class com.atlassian.bamboo.notification.AbstractNotification
NAVIGATION_SOURCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermines if this notification HTML templates should be decorated with default CSS styles.@NotNull StringText describing this notification object - used for logging/debugging purposes.@Nullable StringRetrieves the subject for the notification.@Nullable StringGenerates the html for the html part of an email notification.@Nullable StringGenerates the text email content for the notificationsMethods inherited from class com.atlassian.bamboo.storage.notification.AbstractArtifactStorageCappingNotification
getApplicationHost, getContextParams, getIMContent, getStorageCappingEvent, getStorageLimitsMethods inherited from class com.atlassian.bamboo.notification.AbstractNotification
addRecipient, excludeRecipient, getCommitUrl, getEvent, getExcludedNotificationRecipients, getHtmlImContent, getNotificationRecipients, getPojoEvent, getRepositoryData, getRepositoryData, setEvent, setEvent, setExcludedNotificationRecipients, setNotificationRecipients
-
Constructor Details
-
ArtifactStorageHardLimitExceededNotification
public ArtifactStorageHardLimitExceededNotification()
-
-
Method Details
-
getDescription
Description copied from interface:NotificationText describing this notification object - used for logging/debugging purposes.- Returns:
- Notification's description
-
getEmailSubject
Description copied from interface:NotificationRetrieves 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
Description copied from interface:NotificationGenerates 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
Description copied from interface:NotificationGenerates 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:NotificationDetermines if this notification HTML templates should be decorated with default CSS styles.- Specified by:
applyDefaultCssStylesin interfaceNotification- Overrides:
applyDefaultCssStylesin classAbstractNotification- Returns:
- true, if default styles should be applied and inlined, false otherwise
- See Also:
-