Class NotificationFactoryImpl
- java.lang.Object
-
- com.atlassian.bamboo.notification.NotificationFactoryImpl
-
- All Implemented Interfaces:
NotificationFactory
public class NotificationFactoryImpl extends Object implements NotificationFactory
Provides instances of the Notification Transports with the required dependencies injected.
-
-
Constructor Summary
Constructors Constructor Description NotificationFactoryImpl()
-
Method Summary
-
-
-
Method Detail
-
getImTransport
public ImTransport getImTransport(String imAddress)
- Specified by:
getImTransport
in interfaceNotificationFactory
-
getTextEmailTransport
public TextEmailTransport getTextEmailTransport(String emailAddress)
- Specified by:
getTextEmailTransport
in interfaceNotificationFactory
-
getMultipartEmailTransport
public MultipartEmailTransport getMultipartEmailTransport(String emailAddress)
- Specified by:
getMultipartEmailTransport
in interfaceNotificationFactory
-
getWebhookTransport
public WebhookTransport getWebhookTransport(WebhookTemplate webhookTemplate, String url)
- Specified by:
getWebhookTransport
in interfaceNotificationFactory
-
getUserRecipient
public UserRecipient getUserRecipient(String username)
- Specified by:
getUserRecipient
in interfaceNotificationFactory
-
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)
-
setAdministrationConfigurationAccessor
public void setAdministrationConfigurationAccessor(AdministrationConfigurationAccessor administrationConfigurationAccessor)
-
setNotificationFormatter
public void setNotificationFormatter(NotificationFormatter notificationFormatter)
-
setCustomVariableContext
public void setCustomVariableContext(CustomVariableContext customVariableContext)
-
setResultsSummaryManager
public void setResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)
-
setWebhookSenderService
public void setWebhookSenderService(WebhookSenderService webhookSenderService)
-
setErrorUpdateHandler
public void setErrorUpdateHandler(ErrorUpdateHandler errorUpdateHandler)
-
setWebhookResponseService
public void setWebhookResponseService(WebhookResponseService webhookResponseService)
-
setDeploymentProjectService
public void setDeploymentProjectService(DeploymentProjectService deploymentProjectService)
-
setDeploymentResultService
public void setDeploymentResultService(DeploymentResultService deploymentResultService)
-
-