public class JiraWebHookListenerStore extends Object implements com.atlassian.webhooks.spi.WebHookListenerStore
Constructor and Description |
---|
JiraWebHookListenerStore(com.atlassian.activeobjects.external.ActiveObjects ao,
com.atlassian.sal.api.user.UserManager userManager,
com.atlassian.sal.api.message.I18nResolver i18n) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.webhooks.api.register.listener.PersistentWebHookListener |
addWebHook(com.atlassian.webhooks.api.register.listener.PersistentWebHookListener listener,
com.atlassian.webhooks.api.register.listener.RegistrationMethod registrationMethod) |
Collection<com.atlassian.webhooks.api.register.listener.PersistentWebHookListener> |
getAllWebHooks() |
com.atlassian.fugue.Option<com.atlassian.webhooks.api.register.listener.PersistentWebHookListener> |
getWebHook(int id) |
void |
removeWebHook(int id) |
com.atlassian.webhooks.api.register.listener.PersistentWebHookListener |
updateWebHook(com.atlassian.webhooks.api.register.listener.PersistentWebHookListener listener) |
public JiraWebHookListenerStore(com.atlassian.activeobjects.external.ActiveObjects ao, com.atlassian.sal.api.user.UserManager userManager, com.atlassian.sal.api.message.I18nResolver i18n)
public com.atlassian.webhooks.api.register.listener.PersistentWebHookListener addWebHook(com.atlassian.webhooks.api.register.listener.PersistentWebHookListener listener, com.atlassian.webhooks.api.register.listener.RegistrationMethod registrationMethod)
addWebHook
in interface com.atlassian.webhooks.spi.WebHookListenerStore
public com.atlassian.webhooks.api.register.listener.PersistentWebHookListener updateWebHook(com.atlassian.webhooks.api.register.listener.PersistentWebHookListener listener) throws IllegalArgumentException
updateWebHook
in interface com.atlassian.webhooks.spi.WebHookListenerStore
IllegalArgumentException
public com.atlassian.fugue.Option<com.atlassian.webhooks.api.register.listener.PersistentWebHookListener> getWebHook(int id)
getWebHook
in interface com.atlassian.webhooks.spi.WebHookListenerStore
public void removeWebHook(int id) throws IllegalArgumentException
removeWebHook
in interface com.atlassian.webhooks.spi.WebHookListenerStore
IllegalArgumentException
public Collection<com.atlassian.webhooks.api.register.listener.PersistentWebHookListener> getAllWebHooks()
getAllWebHooks
in interface com.atlassian.webhooks.spi.WebHookListenerStore
Copyright © 2002-2015 Atlassian. All Rights Reserved.