Interface Webhook
- All Known Implementing Classes:
ImmutableWebhook
,WebhookImpl
,WebhookTemplate
public interface Webhook
A Webhook is an application-provided HTTP endpoint that is pinged by Crowd to notify
the occurrence of certain events.
- Since:
- v2.7
-
Method Details
-
getId
Long getId() -
getEndpointUrl
String getEndpointUrl() -
getApplication
Application getApplication() -
getToken
-
getOldestFailureDate
- Returns:
- Date of the last failed delivery that has not been followed by any successful delivery. May be null if the last delivery was successful, or if no delivery has been attempted yet (i.e., new Webhooks).
-
getFailuresSinceLastSuccess
long getFailuresSinceLastSuccess()- Returns:
- Number of consecutive failed attempts to deliver the ping to the Webhook since the last successful delivery, or since the Webhook was created. May be zero if the last delivery was successful, or if the Webhook has just been created.
-