com.atlassian.bamboo.notification.chain
Class ChainStatusChangeNotifactionType

java.lang.Object
  extended by com.atlassian.bamboo.notification.AbstractNotificationType
      extended by com.atlassian.bamboo.notification.chain.ChainStatusChangeNotifactionType
All Implemented Interfaces:
NotificationType, BambooPluginModule, java.lang.Comparable

public class ChainStatusChangeNotifactionType
extends AbstractNotificationType

sends a notification whenever the chain staus 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
ChainStatusChangeNotifactionType()
           
 
Method Summary
 boolean isNotificationRequired(com.atlassian.event.Event event)
          Determines whether or not a notification should be sent based on the event.
 void setChainManager(ChainManager chainManager)
           
 void setChainResultManager(ChainResultManager chainResultManager)
           
 
Methods inherited from class com.atlassian.bamboo.notification.AbstractNotificationType
compareTo, getConfigurationData, getDescription, getEditHtml, getKey, getModuleDescriptor, getScope, getViewHtml, init, populate, setConfigurationData, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChainStatusChangeNotifactionType

public ChainStatusChangeNotifactionType()
Method Detail

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.

Returns:
true or false - to send or not to send.

setChainResultManager

public void setChainResultManager(ChainResultManager chainResultManager)

setChainManager

public void setChainManager(ChainManager chainManager)


Copyright © 2010 Atlassian. All Rights Reserved.