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 WebhookDAOWebhookNotFoundExceptionpublic Webhook findByApplicationAndEndpointUrl(Application application, String endpointUrl) throws WebhookNotFoundException
findByApplicationAndEndpointUrl in interface WebhookDAOWebhookNotFoundExceptionpublic Webhook add(Webhook webhook)
add in interface WebhookDAOpublic void remove(Webhook webhook) throws WebhookNotFoundException
remove in interface WebhookDAOWebhookNotFoundExceptionpublic Iterable<Webhook> findAll()
findAll in interface WebhookDAOpublic Webhook update(Webhook webhook) throws WebhookNotFoundException
update in interface WebhookDAOWebhookNotFoundExceptionCopyright © 2023 Atlassian. All rights reserved.