public interface WebhookRegistry
Webhook
s.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
WebhookNotFoundException
Webhook findById(long webhookId) throws WebhookNotFoundException
WebhookNotFoundException
Webhook 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 © 2021 Atlassian. All rights reserved.
View cookie preferences