com.atlassian.crowd.dao.webhook
Class NoopWebhookDAOImpl
java.lang.Object
com.atlassian.crowd.dao.webhook.NoopWebhookDAOImpl
- All Implemented Interfaces:
- WebhookDAO
public class NoopWebhookDAOImpl
- extends Object
- implements WebhookDAO
A NOP implementation of WebhookDAO. Not used by Crowd or Horde, but provided for JIRA. Returns an immutable
empty list of Webhooks.
- Since:
- v2.7
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoopWebhookDAOImpl
public NoopWebhookDAOImpl()
findById
public Webhook findById(Long webhookId)
throws WebhookNotFoundException
- Specified by:
findById
in interface WebhookDAO
- Throws:
WebhookNotFoundException
findByApplicationAndEndpointUrl
public Webhook findByApplicationAndEndpointUrl(Application application,
String endpointUrl)
throws WebhookNotFoundException
- Specified by:
findByApplicationAndEndpointUrl
in interface WebhookDAO
- Throws:
WebhookNotFoundException
add
public Webhook add(Webhook webhook)
- Specified by:
add
in interface WebhookDAO
remove
public void remove(Webhook webhook)
throws WebhookNotFoundException
- Specified by:
remove
in interface WebhookDAO
- Throws:
WebhookNotFoundException
findAll
public Iterable<Webhook> findAll()
- Specified by:
findAll
in interface WebhookDAO
update
public Webhook update(Webhook webhook)
throws WebhookNotFoundException
- Specified by:
update
in interface WebhookDAO
- Throws:
WebhookNotFoundException
Copyright © 2013 Atlassian. All Rights Reserved.