public class NoopWebhookDAOImpl extends Object implements WebhookDAO
Constructor and Description |
---|
NoopWebhookDAOImpl() |
Modifier and Type | Method and Description |
---|---|
Webhook |
add(Webhook webhook) |
Iterable<Webhook> |
findAll() |
Webhook |
findByApplicationAndEndpointUrl(Application application,
String endpointUrl) |
Webhook |
findById(Long webhookId) |
void |
remove(Webhook webhook) |
Webhook |
update(Webhook webhook) |
public Webhook findById(Long webhookId) throws WebhookNotFoundException
findById
in interface WebhookDAO
WebhookNotFoundException
public Webhook findByApplicationAndEndpointUrl(Application application, String endpointUrl) throws WebhookNotFoundException
findByApplicationAndEndpointUrl
in interface WebhookDAO
WebhookNotFoundException
public Webhook add(Webhook webhook)
add
in interface WebhookDAO
public void remove(Webhook webhook) throws WebhookNotFoundException
remove
in interface WebhookDAO
WebhookNotFoundException
public Iterable<Webhook> findAll()
findAll
in interface WebhookDAO
public Webhook update(Webhook webhook) throws WebhookNotFoundException
update
in interface WebhookDAO
WebhookNotFoundException
Copyright © 2020 Atlassian. All rights reserved.