Class WebhookImpl

java.lang.Object
com.atlassian.crowd.model.webhook.WebhookImpl
All Implemented Interfaces:
Webhook, Serializable

@Deprecated public class WebhookImpl extends Object implements Webhook, Serializable
Deprecated.
Use ImmutableWebhook instead, since 3.6.0.
An implementation of Webhook designed to be used with Hibernate.
Since:
v2.7
See Also:
  • Constructor Details

    • WebhookImpl

      protected WebhookImpl()
      Deprecated.
    • WebhookImpl

      public WebhookImpl(Webhook other)
      Deprecated.
  • Method Details

    • updateDetailsFrom

      public void updateDetailsFrom(Webhook other)
      Deprecated.
    • getId

      public Long getId()
      Deprecated.
      Specified by:
      getId in interface Webhook
    • getEndpointUrl

      public String getEndpointUrl()
      Deprecated.
      Specified by:
      getEndpointUrl in interface Webhook
    • getApplication

      public Application getApplication()
      Deprecated.
      Specified by:
      getApplication in interface Webhook
    • getToken

      @Nullable public String getToken()
      Deprecated.
      Specified by:
      getToken in interface Webhook
    • getOldestFailureDate

      @Nullable public Date getOldestFailureDate()
      Deprecated.
      Specified by:
      getOldestFailureDate in interface Webhook
      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 interface Webhook
      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

      public void setApplication(Application application)
      Deprecated.
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object