Class ChainFailedAndFirstFixedNotificationType
- java.lang.Object
-
- com.atlassian.bamboo.notification.AbstractNotificationType
-
- com.atlassian.bamboo.notification.chain.ChainStatusChangeNotificationType
-
- com.atlassian.bamboo.notification.chain.ChainFailedAndFirstFixedNotificationType
-
- All Implemented Interfaces:
NotificationType
,BambooPluginModule
,Comparable
public class ChainFailedAndFirstFixedNotificationType extends ChainStatusChangeNotificationType
-
-
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
Constructors Constructor Description ChainFailedAndFirstFixedNotificationType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isNotificationRequired(@NotNull Object event)
Determines whether or not a notification should be sent based on the event.-
Methods inherited from class com.atlassian.bamboo.notification.chain.ChainStatusChangeNotificationType
setResultsSummaryManager
-
Methods inherited from class com.atlassian.bamboo.notification.AbstractNotificationType
compareTo, getConfigurationData, getDescription, getEditHtml, getKey, getModuleDescriptor, getName, getScope, getViewHtml, init, populate, setConfigurationData, validate
-
-
-
-
Method Detail
-
isNotificationRequired
public boolean isNotificationRequired(@NotNull @NotNull Object event)
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 classChainStatusChangeNotificationType
- Returns:
- true or false - to send or not to send.
-
-