com.atlassian.crowd.plugin.rest.service.controller
Class WebhooksController
java.lang.Object
com.atlassian.crowd.plugin.rest.service.controller.AbstractResourceController
com.atlassian.crowd.plugin.rest.service.controller.WebhooksController
public class WebhooksController
- extends AbstractResourceController
Webhooks controller
- Since:
- v2.7
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebhooksController
public WebhooksController(ApplicationService applicationService,
ApplicationManager applicationManager)
findWebhookById
public Webhook findWebhookById(String applicationName,
long webhookId)
throws ApplicationPermissionException,
WebhookNotFoundException
- Throws:
ApplicationPermissionException
WebhookNotFoundException
registerWebhook
public Webhook registerWebhook(String applicationName,
String endpointUrl,
@Nullable
String token)
throws InvalidWebhookEndpointException
- Throws:
InvalidWebhookEndpointException
unregisterWebhook
public void unregisterWebhook(String applicationName,
long webhookId)
throws ApplicationPermissionException,
WebhookNotFoundException
- Throws:
ApplicationPermissionException
WebhookNotFoundException
Copyright © 2013 Atlassian. All Rights Reserved.