@Transactional public class WebhookNotificationListenerImpl extends Object implements WebhookNotificationListener
| Constructor and Description |
|---|
WebhookNotificationListenerImpl(WebhookRegistry webhookRegistry,
WebhookHealthStrategy webhookHealthStrategy) |
| Modifier and Type | Method and Description |
|---|---|
void |
onPingFailure(long webhookId)
Reacts to a failed notification delivery.
|
void |
onPingSuccess(long webhookId)
Reacts to a successful notification delivery.
|
public WebhookNotificationListenerImpl(WebhookRegistry webhookRegistry, WebhookHealthStrategy webhookHealthStrategy)
public void onPingSuccess(long webhookId)
throws WebhookNotFoundException
WebhookNotificationListeneronPingSuccess in interface WebhookNotificationListenerwebhookId - id of the WebhookWebhookNotFoundException - if the Webhook with the given id cannot be foundpublic void onPingFailure(long webhookId)
throws WebhookNotFoundException
WebhookNotificationListeneronPingFailure in interface WebhookNotificationListenerwebhookId - id of the WebhookWebhookNotFoundException - if the Webhook with the given id cannot be foundCopyright © 2021 Atlassian. All rights reserved.