Class WebhookImpl
java.lang.Object
com.atlassian.crowd.model.webhook.WebhookImpl
- All Implemented Interfaces:
Webhook
,Serializable
Deprecated.
An implementation of Webhook designed to be used with Hibernate.
- Since:
- v2.7
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.Deprecated.Deprecated.long
Deprecated.getId()
Deprecated.Deprecated.getToken()
Deprecated.int
hashCode()
Deprecated.void
setApplication
(Application application) Deprecated.void
updateDetailsFrom
(Webhook other) Deprecated.
-
Constructor Details
-
WebhookImpl
protected WebhookImpl()Deprecated. -
WebhookImpl
Deprecated.
-
-
Method Details
-
updateDetailsFrom
Deprecated. -
getId
Deprecated. -
getEndpointUrl
Deprecated.- Specified by:
getEndpointUrl
in interfaceWebhook
-
getApplication
Deprecated.- Specified by:
getApplication
in interfaceWebhook
-
getToken
Deprecated. -
getOldestFailureDate
Deprecated.- Specified by:
getOldestFailureDate
in interfaceWebhook
- 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
public long getFailuresSinceLastSuccess()Deprecated.- Specified by:
getFailuresSinceLastSuccess
in interfaceWebhook
- 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.
-
setApplication
Deprecated. -
equals
Deprecated. -
hashCode
public int hashCode()Deprecated.
-
ImmutableWebhook
instead, since 3.6.0.