com.atlassian.bamboo.emailer.strategy
Class AbstractEmailStrategy

java.lang.Object
  extended by com.atlassian.bamboo.emailer.strategy.AbstractEmailStrategy
All Implemented Interfaces:
EmailStrategy
Direct Known Subclasses:
AlwaysEmailStrategy, EmailErrorsAndFirstSuccessfulBuildStrategy, NeverEmailStrategy

public abstract class AbstractEmailStrategy
extends Object
implements EmailStrategy

Common email strategy behaviour


Constructor Summary
AbstractEmailStrategy()
           
 
Method Summary
 String getName()
          Used to identify the strategy within the UI
 String toString()
          Text to display in GUI components!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.atlassian.bamboo.emailer.strategy.EmailStrategy
getLabel, shouldEmailBuildResults
 

Constructor Detail

AbstractEmailStrategy

public AbstractEmailStrategy()
Method Detail

toString

public String toString()
Text to display in GUI components!

Overrides:
toString in class Object
Returns:
the text

getName

public String getName()
Description copied from interface: EmailStrategy
Used to identify the strategy within the UI

Specified by:
getName in interface EmailStrategy
Returns:
The name


Copyright © 2006 Atlassian Software Systems. All Rights Reserved.