com.atlassian.crowd.model.webhook
Class WebhookImpl

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

public class WebhookImpl
extends Object
implements Webhook, Serializable

An implementation of Webhook designed to be used with Hibernate.

Since:
v2.7
See Also:
Serialized Form

Constructor Summary
protected WebhookImpl()
           
  WebhookImpl(Webhook other)
           
 
Method Summary
 boolean equals(Object o)
           
 Application getApplication()
           
 String getEndpointUrl()
           
 long getFailuresSinceLastSuccess()
           
 Long getId()
           
 Date getOldestFailureDate()
           
 String getToken()
           
 int hashCode()
           
 void updateDetailsFrom(Webhook other)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebhookImpl

protected WebhookImpl()

WebhookImpl

public WebhookImpl(Webhook other)
Method Detail

updateDetailsFrom

public void updateDetailsFrom(Webhook other)

getId

public Long getId()
Specified by:
getId in interface Webhook

getEndpointUrl

public String getEndpointUrl()
Specified by:
getEndpointUrl in interface Webhook

getApplication

public Application getApplication()
Specified by:
getApplication in interface Webhook

getToken

@Nullable
public String getToken()
Specified by:
getToken in interface Webhook

getOldestFailureDate

@Nullable
public Date getOldestFailureDate()
Specified by:
getOldestFailureDate in interface Webhook

getFailuresSinceLastSuccess

public long getFailuresSinceLastSuccess()
Specified by:
getFailuresSinceLastSuccess in interface Webhook

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2014 Atlassian. All Rights Reserved.