com.atlassian.bamboo.emailer
Class DefaultEmailBuildResultsService
java.lang.Object
com.atlassian.bamboo.events.DefaultBuildEventListener
com.atlassian.bamboo.emailer.DefaultEmailBuildResultsService
- All Implemented Interfaces:
- EmailBuildResultsService, BuildEventListener
public class DefaultEmailBuildResultsService
- extends DefaultBuildEventListener
- implements EmailBuildResultsService
This class provides the default emailing service.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultEmailBuildResultsService
public DefaultEmailBuildResultsService(VelocityEngine velocityEngine,
ErrorHandler errorHandler,
BuildManager buildManager)
onBuildComplete
public void onBuildComplete(Build build,
BuildResults buildResults)
throws Exception
- Email out the build results, if the builds email strategy has email enabled.
- Specified by:
onBuildComplete
in interface BuildEventListener
- Overrides:
onBuildComplete
in class DefaultBuildEventListener
- Parameters:
build
- The build that has just been builtbuildResults
- The build results associated with the build
- Throws:
Exception
- A generic exception - not thrown by this implementaton. All exceptions are logged and added to
the ErrorHandler.
getSessionFactory
public SessionFactory getSessionFactory()
setSessionFactory
public void setSessionFactory(SessionFactory sessionFactory)
getExtendedAuthorManager
public ExtendedAuthorManager getExtendedAuthorManager()
setExtendedAuthorManager
public void setExtendedAuthorManager(ExtendedAuthorManager extendedAuthorManager)
getBambooMailer
public BambooMailer getBambooMailer()
setBambooMailer
public void setBambooMailer(BambooMailer bambooMailer)
Copyright © 2006 Atlassian Software Systems. All Rights Reserved.