com.atlassian.bamboo.notification
Class NotificationFactoryImpl

java.lang.Object
  extended by com.atlassian.bamboo.notification.NotificationFactoryImpl
All Implemented Interfaces:
NotificationFactory

public class NotificationFactoryImpl
extends java.lang.Object
implements NotificationFactory

Provides instances of the Notification Transports with the required dependencies injected.


Constructor Summary
NotificationFactoryImpl()
           
 
Method Summary
 ImTransport getImTransport(java.lang.String imAddress)
           
 MultipartEmailTransport getMultipartEmailTransport(java.lang.String emailAddress)
           
 TextEmailTransport getTextEmailTransport(java.lang.String emailAddress)
           
 UserRecipient getUserRecipient(java.lang.String username)
           
 void setAdministrationConfigurationManager(AdministrationConfigurationManager administrationConfigurationManager)
           
 void setBambooSmackClient(BambooSmackClient bambooSmackClient)
           
 void setBambooUserManager(BambooUserManager bambooUserManager)
           
 void setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
           
 void setNotificationFormatter(NotificationFormatter notificationFormatter)
           
 void setPlanManager(PlanManager planManager)
           
 void setTemplateRenderer(TemplateRenderer templateRenderer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationFactoryImpl

public NotificationFactoryImpl()
Method Detail

getImTransport

public ImTransport getImTransport(java.lang.String imAddress)
Specified by:
getImTransport in interface NotificationFactory

getTextEmailTransport

public TextEmailTransport getTextEmailTransport(java.lang.String emailAddress)
Specified by:
getTextEmailTransport in interface NotificationFactory

getMultipartEmailTransport

public MultipartEmailTransport getMultipartEmailTransport(java.lang.String emailAddress)
Specified by:
getMultipartEmailTransport in interface NotificationFactory

getUserRecipient

public UserRecipient getUserRecipient(java.lang.String username)
Specified by:
getUserRecipient in interface NotificationFactory

setBambooSmackClient

public void setBambooSmackClient(BambooSmackClient bambooSmackClient)

setEventPublisher

public void setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)

setBambooUserManager

public void setBambooUserManager(BambooUserManager bambooUserManager)

setTemplateRenderer

public void setTemplateRenderer(TemplateRenderer templateRenderer)

setPlanManager

public void setPlanManager(PlanManager planManager)

setAdministrationConfigurationManager

public void setAdministrationConfigurationManager(AdministrationConfigurationManager administrationConfigurationManager)

setNotificationFormatter

public void setNotificationFormatter(NotificationFormatter notificationFormatter)


Copyright © 2012 Atlassian. All Rights Reserved.