com.atlassian.crowd.model.webhook
Interface Webhook
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
getId
Long getId()
getEndpointUrl
String getEndpointUrl()
getApplication
Application getApplication()
getToken
@Nullable
String getToken()
getOldestFailureDate
@Nullable
Date 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.
Copyright © 2013 Atlassian. All Rights Reserved.