Class WebhookTransport
- java.lang.Object
-
- com.atlassian.bamboo.notification.transports.webhook.WebhookTransport
-
- All Implemented Interfaces:
NotificationTransport
public class WebhookTransport extends Object implements NotificationTransport
-
-
Constructor Summary
Constructors Constructor Description WebhookTransport(WebhookTemplate webhookTemplate, CustomVariableContext customVariableContext, ErrorUpdateHandler errorUpdateHandler, ResultsSummaryManager resultsSummaryManager, DeploymentProjectService deploymentProjectService, WebhookSenderService webhookSenderService, String url, WebhookResponseService webhookResponseService, DeploymentResultService deploymentResultService, BambooUrl bambooUrl, TemplateRenderer templateRenderer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
sendNotification(@NotNull Notification notification)
Send off the notification of this transport type.
-
-
-
Constructor Detail
-
WebhookTransport
public WebhookTransport(WebhookTemplate webhookTemplate, CustomVariableContext customVariableContext, ErrorUpdateHandler errorUpdateHandler, ResultsSummaryManager resultsSummaryManager, DeploymentProjectService deploymentProjectService, WebhookSenderService webhookSenderService, String url, WebhookResponseService webhookResponseService, DeploymentResultService deploymentResultService, BambooUrl bambooUrl, TemplateRenderer templateRenderer)
-
-
Method Detail
-
sendNotification
public void sendNotification(@NotNull @NotNull Notification notification)
Description copied from interface:NotificationTransport
Send off the notification of this transport type.- Specified by:
sendNotification
in interfaceNotificationTransport
- Parameters:
notification
- object (used to generate notification content)
-
-