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 java.lang.Object
implements EmailStrategy

Common email strategy behaviour


Constructor Summary
AbstractEmailStrategy()
           
 
Method Summary
 java.lang.String getName()
          Used to identify the strategy within the UI
 java.lang.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 java.lang.String toString()
Text to display in GUI components!

Overrides:
toString in class java.lang.Object
Returns:
the text

getName

public java.lang.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 © 2008 Atlassian Pty Ltd. All Rights Reserved.