com.atlassian.bamboo.legacy
Class LegacyNeverEmailStrategy

java.lang.Object
  extended by com.atlassian.bamboo.legacy.LegacyAbstractEmailStrategy
      extended by com.atlassian.bamboo.legacy.LegacyNeverEmailStrategy
All Implemented Interfaces:
EmailStrategy

public class LegacyNeverEmailStrategy
extends LegacyAbstractEmailStrategy


Constructor Summary
LegacyNeverEmailStrategy()
           
 
Method Summary
 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.legacy.LegacyAbstractEmailStrategy
getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LegacyNeverEmailStrategy

public LegacyNeverEmailStrategy()
Method Detail

getLabel

public 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 © 2006 Atlassian Software Systems. All Rights Reserved.