public interface WebhookTemplateService
| Modifier and Type | Method and Description |
|---|---|
void |
deleteById(long webhookId)
Deletes Webhook Template with given id
|
boolean |
exists(String webhookName)
Check if Webhook Template with given name exists
|
Optional<WebhookTemplate> |
findById(long webhookId)
Finds WebhookTemplate By id
|
Optional<WebhookTemplate> |
findByUuid(UUID uuid)
Finds WebhookTemplate By uuid
|
Optional<String> |
findNameByUuid(UUID uuid)
Finds Webhook Template name for given uuid
|
Optional<UUID> |
findUuidByName(String name)
Return uuid for Webhook Template with given name
|
UUID |
generateUuid() |
List<WebhookTemplate> |
getGlobalWebhooks()
return all Global webhook specified in Global Administration
|
List<org.springframework.http.HttpMethod> |
getSupportedMethods() |
WebhookTemplate |
save(WebhookTemplate webhookTemplate)
Saves new webhook template
|
void |
update(WebhookTemplate webhookTemplate)
Updates Webhook Template which already exists
|
WebhookTemplate save(WebhookTemplate webhookTemplate)
webhookTemplate - List<WebhookTemplate> getGlobalWebhooks()
Optional<WebhookTemplate> findById(long webhookId)
webhookId - Optional<WebhookTemplate> findByUuid(UUID uuid)
uuid - void update(WebhookTemplate webhookTemplate)
webhookTemplate - void deleteById(long webhookId)
webhookId - Optional<String> findNameByUuid(UUID uuid)
uuid - NameProvider.getName()boolean exists(String webhookName)
webhookName - Optional<UUID> findUuidByName(String name)
name - BambooIdProvider.getId()UUID generateUuid()
List<org.springframework.http.HttpMethod> getSupportedMethods()
Copyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.