public class AsynchronousWebhookRestClient extends com.atlassian.jira.rest.client.internal.async.AbstractAsynchronousRestClient implements WebhookRestClient, groovy.lang.GroovyObject
| Constructor and Description |
|---|
AsynchronousWebhookRestClient(java.net.URI baseUri,
com.atlassian.httpclient.api.HttpClient client) |
| Modifier and Type | Method and Description |
|---|---|
groovy.lang.MetaClass |
getMetaClass() |
java.lang.Object |
getProperty(java.lang.String property) |
com.atlassian.util.concurrent.Promise<java.lang.Iterable<Webhook>> |
getWebhooks() |
java.lang.Object |
invokeMethod(java.lang.String method,
java.lang.Object arguments) |
com.atlassian.util.concurrent.Promise<java.lang.Void> |
registerWebhook(WebhookInput webhook) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(java.lang.String property,
java.lang.Object value) |
com.atlassian.util.concurrent.Promise<java.lang.Void> |
unregisterWebhook(java.net.URI webhookUri) |
public AsynchronousWebhookRestClient(java.net.URI baseUri,
com.atlassian.httpclient.api.HttpClient client)
public groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObjectpublic java.lang.Object invokeMethod(java.lang.String method,
java.lang.Object arguments)
invokeMethod in interface groovy.lang.GroovyObjectpublic java.lang.Object getProperty(java.lang.String property)
getProperty in interface groovy.lang.GroovyObjectpublic void setProperty(java.lang.String property,
java.lang.Object value)
setProperty in interface groovy.lang.GroovyObjectpublic com.atlassian.util.concurrent.Promise<java.lang.Void> registerWebhook(WebhookInput webhook)
registerWebhook in interface WebhookRestClientpublic com.atlassian.util.concurrent.Promise<java.lang.Void> unregisterWebhook(java.net.URI webhookUri)
unregisterWebhook in interface WebhookRestClientpublic com.atlassian.util.concurrent.Promise<java.lang.Iterable<Webhook>> getWebhooks()
getWebhooks in interface WebhookRestClient