Class NotificationFactoryImpl
java.lang.Object
com.atlassian.bamboo.notification.NotificationFactoryImpl
- All Implemented Interfaces:
NotificationFactory
Provides instances of the Notification Transports with the required dependencies injected.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetImTransport
(String imAddress) getMultipartEmailTransport
(String emailAddress) getTextEmailTransport
(String emailAddress) getUserRecipient
(String username) getWebhookTransport
(WebhookTemplate webhookTemplate, String url) void
setAdministrationConfigurationAccessor
(AdministrationConfigurationAccessor administrationConfigurationAccessor) void
setBambooSmackClient
(BambooSmackClient bambooSmackClient) void
setBambooUserManager
(BambooUserManager bambooUserManager) void
setCustomVariableContext
(CustomVariableContext customVariableContext) void
setDeploymentProjectService
(DeploymentProjectService deploymentProjectService) void
setDeploymentResultService
(DeploymentResultService deploymentResultService) void
setErrorUpdateHandler
(ErrorUpdateHandler errorUpdateHandler) void
setEventPublisher
(com.atlassian.event.api.EventPublisher eventPublisher) void
setNotificationFormatter
(NotificationFormatter notificationFormatter) void
setPlanManager
(PlanManager planManager) void
setResultsSummaryManager
(ResultsSummaryManager resultsSummaryManager) void
setTemplateRenderer
(TemplateRenderer templateRenderer) void
setWebhookResponseService
(WebhookResponseService webhookResponseService) void
setWebhookSenderService
(WebhookSenderService webhookSenderService)
-
Constructor Details
-
NotificationFactoryImpl
public NotificationFactoryImpl()
-
-
Method Details
-
getImTransport
- Specified by:
getImTransport
in interfaceNotificationFactory
-
getTextEmailTransport
- Specified by:
getTextEmailTransport
in interfaceNotificationFactory
-
getMultipartEmailTransport
- Specified by:
getMultipartEmailTransport
in interfaceNotificationFactory
-
getWebhookTransport
- Specified by:
getWebhookTransport
in interfaceNotificationFactory
-
getUserRecipient
- Specified by:
getUserRecipient
in interfaceNotificationFactory
-
setBambooSmackClient
-
setEventPublisher
public void setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher) -
setBambooUserManager
-
setTemplateRenderer
-
setPlanManager
-
setAdministrationConfigurationAccessor
public void setAdministrationConfigurationAccessor(AdministrationConfigurationAccessor administrationConfigurationAccessor) -
setNotificationFormatter
-
setCustomVariableContext
-
setResultsSummaryManager
-
setWebhookSenderService
-
setErrorUpdateHandler
-
setWebhookResponseService
-
setDeploymentProjectService
-
setDeploymentResultService
-