com.atlassian.bamboo.emailer.strategy
Class AlwaysEmailStrategy

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

public class AlwaysEmailStrategy
extends AbstractEmailStrategy

Instruct Bamboo to always send email at the end of the build.


Constructor Summary
AlwaysEmailStrategy()
           
 
Method Summary
 java.lang.String getLabel()
          Obtain a description of the strategy for displaying in the GUI
 boolean shouldEmailBuildResults(BuildResults buildResults, BuildState previousBuildState)
          Always send the build results 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

AlwaysEmailStrategy

public AlwaysEmailStrategy()
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)
Always send the build results email

Parameters:
buildResults - ignored
previousBuildState - ignored
Returns:
true


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.