Class BuildStatusChangeNotificationType
java.lang.Object
com.atlassian.bamboo.notification.AbstractNotificationType
com.atlassian.bamboo.notification.buildcompleted.BuildStatusChangeNotificationType
- All Implemented Interfaces:
NotificationType
,BambooPluginModule
,Comparable
sends a notification whenever the build status changes from passed <> failed
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.bamboo.notification.NotificationType
NotificationType.Scope
-
Field Summary
Fields inherited from class com.atlassian.bamboo.notification.AbstractNotificationType
notificationTypeModuleDescriptor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isNotificationRequired
(@NotNull Object event) Determines whether or not a notification should be sent based on the event.void
setResultsSummaryManager
(ResultsSummaryManager resultsSummaryManager) Methods inherited from class com.atlassian.bamboo.notification.AbstractNotificationType
compareTo, getConfigurationData, getDescription, getEditHtml, getKey, getModuleDescriptor, getName, getScope, getViewHtml, init, populate, setConfigurationData, validate
-
Constructor Details
-
BuildStatusChangeNotificationType
public BuildStatusChangeNotificationType()
-
-
Method Details
-
isNotificationRequired
Description copied from interface:NotificationType
Determines whether or not a notification should be sent based on the event. Can look for context specific information as well as user configuration.- Specified by:
isNotificationRequired
in interfaceNotificationType
- Overrides:
isNotificationRequired
in classAbstractNotificationType
- Returns:
- true or false - to send or not to send.
-
setResultsSummaryManager
-