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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.Deprecated.Deprecated.longDeprecated.getId()Deprecated.Deprecated.getToken()Deprecated.inthashCode()Deprecated.voidsetApplication(Application application) Deprecated.voidupdateDetailsFrom(Webhook other) Deprecated.
-
Constructor Details
-
WebhookImpl
protected WebhookImpl()Deprecated. -
WebhookImpl
Deprecated.
-
-
Method Details
-
updateDetailsFrom
Deprecated. -
getId
Deprecated. -
getEndpointUrl
Deprecated.- Specified by:
getEndpointUrlin interfaceWebhook
-
getApplication
Deprecated.- Specified by:
getApplicationin interfaceWebhook
-
getToken
Deprecated. -
getOldestFailureDate
Deprecated.- Specified by:
getOldestFailureDatein 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:
getFailuresSinceLastSuccessin 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.
-
ImmutableWebhookinstead, since 3.6.0.