com.atlassian.crowd.manager.webhook
Class WebhookNotificationListenerImpl
java.lang.Object
com.atlassian.crowd.manager.webhook.WebhookNotificationListenerImpl
- All Implemented Interfaces:
- WebhookNotificationListener
@Transactional
public class WebhookNotificationListenerImpl
- extends Object
- implements WebhookNotificationListener
Reacts to the outcome of Webhook notifications by registering this outcome, updating the Webhook and,
if decided by the WebhookHealthStrategy, removing the Webhook.
- Since:
- v2.7
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebhookNotificationListenerImpl
public WebhookNotificationListenerImpl(WebhookRegistry webhookRegistry,
WebhookHealthStrategy webhookHealthStrategy)
onPingSuccess
public void onPingSuccess(long webhookId)
throws WebhookNotFoundException
- Specified by:
onPingSuccess in interface WebhookNotificationListener
- Throws:
WebhookNotFoundException
onPingFailure
public void onPingFailure(long webhookId)
throws WebhookNotFoundException
- Specified by:
onPingFailure in interface WebhookNotificationListener
- Throws:
WebhookNotFoundException
Copyright © 2014 Atlassian. All Rights Reserved.