public interface WebhookDAO
Webhooks.| 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) |
Webhook findById(Long webhookId) throws WebhookNotFoundException
WebhookNotFoundExceptionWebhook findByApplicationAndEndpointUrl(Application application, String endpointUrl) throws WebhookNotFoundException
WebhookNotFoundExceptionvoid remove(Webhook webhook) throws WebhookNotFoundException
WebhookNotFoundExceptionWebhook update(Webhook webhook) throws WebhookNotFoundException
WebhookNotFoundExceptionCopyright © 2018 Atlassian. All rights reserved.