public interface WebhookRegistry
Webhooks.| Modifier and Type | Method and Description |
|---|---|
Webhook |
add(Webhook webhook)
Adds a new Webhook, if it does not exist previously.
|
Iterable<Webhook> |
findAll() |
Webhook |
findById(long webhookId) |
void |
remove(Webhook webhook) |
Webhook |
update(Webhook webhook)
Updates an existing Webhook.
|
Webhook add(Webhook webhook)
void remove(Webhook webhook) throws WebhookNotFoundException
WebhookNotFoundExceptionWebhook findById(long webhookId) throws WebhookNotFoundException
WebhookNotFoundExceptionWebhook update(Webhook webhook) throws WebhookNotFoundException
webhook - a template to modify an existing Webhook. Must have an ID.WebhookNotFoundException - if there is not any Webhook with the ID of the template.Copyright © 2024 Atlassian. All rights reserved.