com.atlassian.bamboo.notification.buildcompleted
Class BuildStatusChangeNotificationType
java.lang.Object
com.atlassian.bamboo.notification.AbstractNotificationType
com.atlassian.bamboo.notification.buildcompleted.BuildStatusChangeNotificationType
- All Implemented Interfaces:
- NotificationType, BambooPluginModule, Comparable
public class BuildStatusChangeNotificationType
- extends AbstractNotificationType
sends a notification whenever the build status changes from passed <> failed
Methods inherited from class com.atlassian.bamboo.notification.AbstractNotificationType |
compareTo, getConfigurationData, getDescription, getEditHtml, getKey, getModuleDescriptor, getName, getScope, getViewHtml, init, isNotificationRequired, populate, setConfigurationData, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BuildStatusChangeNotificationType
public BuildStatusChangeNotificationType()
isNotificationRequired
public boolean isNotificationRequired(@NotNull
com.atlassian.event.Event 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 interface NotificationType
- Overrides:
isNotificationRequired
in class AbstractNotificationType
- Returns:
- true or false - to send or not to send.
setResultsSummaryManager
public void setResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.