Class AbstractArtifactStorageCappingNotification
- java.lang.Object
-
- com.atlassian.bamboo.notification.AbstractNotification
-
- com.atlassian.bamboo.storage.notification.AbstractArtifactStorageCappingNotification
-
- All Implemented Interfaces:
Notification
,Notification.HtmlImContentProvidingNotification
- Direct Known Subclasses:
ArtifactStorageHardLimitExceededNotification
,ArtifactStorageSoftLimitExceededNotification
public abstract class AbstractArtifactStorageCappingNotification extends AbstractNotification
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.atlassian.bamboo.notification.Notification
Notification.HtmlImContentProvidingNotification
-
-
Field Summary
Fields Modifier and Type Field Description protected AdministrationConfigurationAccessor
administrationConfigurationAccessor
protected TemplateRenderer
templateRenderer
protected com.atlassian.struts.TextProvider
textProvider
-
Fields inherited from class com.atlassian.bamboo.notification.AbstractNotification
NAVIGATION_SOURCE
-
-
Constructor Summary
Constructors Constructor Description AbstractArtifactStorageCappingNotification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected @NotNull String
getApplicationHost()
protected @NotNull Map<String,Object>
getContextParams()
@Nullable String
getIMContent()
Retrieves the content for the IM notificationprotected @NotNull ArtifactStorageCappingEvent
getStorageCappingEvent()
protected @NotNull StorageLimits
getStorageLimits()
-
Methods inherited from class com.atlassian.bamboo.notification.AbstractNotification
addRecipient, applyDefaultCssStyles, excludeRecipient, getCommitUrl, getEvent, getExcludedNotificationRecipients, getHtmlImContent, getNotificationRecipients, getPojoEvent, getRepositoryData, getRepositoryData, setEvent, setEvent, setExcludedNotificationRecipients, setNotificationRecipients
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.bamboo.notification.Notification
getDescription, getEmailSubject, getHtmlEmailContent, getTextEmailContent
-
-
-
-
Field Detail
-
administrationConfigurationAccessor
@Inject protected AdministrationConfigurationAccessor administrationConfigurationAccessor
-
templateRenderer
@Inject protected TemplateRenderer templateRenderer
-
textProvider
@Inject protected com.atlassian.struts.TextProvider textProvider
-
-
Method Detail
-
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
-
getStorageCappingEvent
@NotNull protected @NotNull ArtifactStorageCappingEvent getStorageCappingEvent()
-
getStorageLimits
@NotNull protected @NotNull StorageLimits getStorageLimits()
-
getApplicationHost
@NotNull protected @NotNull String getApplicationHost() throws Exception
- Throws:
Exception
-
-