com.atlassian.bamboo.emailer.strategy
Class NeverEmailStrategy

java.lang.Object
  extended by com.atlassian.bamboo.emailer.strategy.AbstractEmailStrategy
      extended by com.atlassian.bamboo.emailer.strategy.NeverEmailStrategy
All Implemented Interfaces:
EmailStrategy

public class NeverEmailStrategy
extends AbstractEmailStrategy

This class never email - effectly turns off emailing...


Constructor Summary
NeverEmailStrategy()
           
 
Method Summary
 java.lang.String getLabel()
          Obtain a description of the strategy for displaying in the GUI
 boolean shouldEmailBuildResults(BuildResults buildResults, BuildState previousBuildState)
          Never send an email!
 
Methods inherited from class com.atlassian.bamboo.emailer.strategy.AbstractEmailStrategy
getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NeverEmailStrategy

public NeverEmailStrategy()
Method Detail

getLabel

public java.lang.String getLabel()
Obtain a description of the strategy for displaying in the GUI

Returns:
the descriptive label for the GUI

shouldEmailBuildResults

public boolean shouldEmailBuildResults(BuildResults buildResults,
                                       BuildState previousBuildState)
Never send an email!

Parameters:
buildResults - ignored
previousBuildState - ignored
Returns:
false


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.