com.atlassian.crowd.manager.webhook
Interface WebhookNotificationListener


public interface WebhookNotificationListener

Reacts to the outcome of Webhook notifications.

Since:
v2.7

Method Summary
 void onPingFailure(long webhookId)
          Reacts to a failed notification delivery.
 void onPingSuccess(long webhookId)
          Reacts to a successful notification delivery.
 

Method Detail

onPingSuccess

void onPingSuccess(long webhookId)
                   throws WebhookNotFoundException
Reacts to a successful notification delivery.

Parameters:
webhookId - id of the Webhook
Throws:
WebhookNotFoundException - if the Webhook with the given id cannot be found

onPingFailure

void onPingFailure(long webhookId)
                   throws WebhookNotFoundException
Reacts to a failed notification delivery.

Parameters:
webhookId - id of the Webhook
Throws:
WebhookNotFoundException - if the Webhook with the given id cannot be found


Copyright © 2014 Atlassian. All Rights Reserved.