Package | Description |
---|---|
com.contentful.java.cma | |
com.contentful.java.cma.model |
Modifier and Type | Method and Description |
---|---|
CMAWebhook |
ModuleWebhooks.create(CMAWebhook webhook)
Create a new webhook.
|
CMAWebhook |
ModuleWebhooks.create(java.lang.String spaceId,
CMAWebhook webhook)
Create a new webhook.
|
CMAWebhook |
ModuleWebhooks.fetchOne(java.lang.String webhookId)
Retrieve exactly one webhook, whose id you know.
|
CMAWebhook |
ModuleWebhooks.fetchOne(java.lang.String spaceId,
java.lang.String webhookId)
Retrieve exactly one webhook, whose id you know.
|
CMAWebhook |
ModuleWebhooks.update(CMAWebhook webhook)
Change the content of a webhook.
|
Modifier and Type | Method and Description |
---|---|
CMACallback<CMAWebhook> |
ModuleWebhooks.Async.create(CMAWebhook webhook,
CMACallback<CMAWebhook> callback)
Asynchronous variant of
ModuleWebhooks.create(String, CMAWebhook) |
CMACallback<CMAWebhook> |
ModuleWebhooks.Async.create(java.lang.String spaceId,
CMAWebhook webhook,
CMACallback<CMAWebhook> callback)
Asynchronous variant of
ModuleWebhooks.create(String, CMAWebhook) |
CMAArray<CMAWebhook> |
ModuleWebhooks.fetchAll()
Retrieve all the webhooks defined the configured space.
|
CMACallback<CMAArray<CMAWebhook>> |
ModuleWebhooks.Async.fetchAll(CMACallback<CMAArray<CMAWebhook>> callback)
Asynchronous variant of
ModuleWebhooks.fetchAll() |
CMAArray<CMAWebhook> |
ModuleWebhooks.fetchAll(java.util.Map<java.lang.String,java.lang.String> query)
Retrieve specific webhooks matching a query for this space.
|
CMACallback<CMAArray<CMAWebhook>> |
ModuleWebhooks.Async.fetchAll(java.util.Map<java.lang.String,java.lang.String> query,
CMACallback<CMAArray<CMAWebhook>> callback)
Asynchronous variant of
ModuleWebhooks.fetchAll(Map) |
CMAArray<CMAWebhook> |
ModuleWebhooks.fetchAll(java.lang.String spaceId)
Retrieve all the webhooks defined for this space.
|
CMACallback<CMAArray<CMAWebhook>> |
ModuleWebhooks.Async.fetchAll(java.lang.String spaceId,
CMACallback<CMAArray<CMAWebhook>> callback)
Asynchronous variant of
ModuleWebhooks.fetchAll(String) |
CMAArray<CMAWebhook> |
ModuleWebhooks.fetchAll(java.lang.String spaceId,
java.util.Map<java.lang.String,java.lang.String> query)
Retrieve specific webhooks matching a query for this space.
|
CMACallback<CMAArray<CMAWebhook>> |
ModuleWebhooks.Async.fetchAll(java.lang.String spaceId,
java.util.Map<java.lang.String,java.lang.String> query,
CMACallback<CMAArray<CMAWebhook>> callback)
Asynchronous variant of
ModuleWebhooks.fetchAll(String, Map) |
CMACallback<CMAWebhook> |
ModuleWebhooks.Async.fetchOne(java.lang.String webhookId,
CMACallback<CMAWebhook> callback)
Asynchronous variant of
ModuleWebhooks.fetchOne(String) |
CMACallback<CMAWebhook> |
ModuleWebhooks.Async.fetchOne(java.lang.String spaceId,
java.lang.String webhookId,
CMACallback<CMAWebhook> callback)
Asynchronous variant of
ModuleWebhooks.fetchOne(String, String) |
CMACallback<CMAWebhook> |
ModuleWebhooks.Async.update(CMAWebhook webhook,
CMACallback<CMAWebhook> callback)
Asynchronous variant of
ModuleWebhooks.update(CMAWebhook) |
Modifier and Type | Method and Description |
---|---|
CMAArray<CMAWebhookCall> |
ModuleWebhooks.calls(CMAWebhook webhook)
Get more information about a specific webhook.
|
CMACallback<CMAArray<CMAWebhookCall>> |
ModuleWebhooks.Async.calls(CMAWebhook webhook,
CMACallback<CMAArray<CMAWebhookCall>> callback)
Asynchronous variant of
ModuleWebhooks.calls(CMAWebhook) |
CMAWebhook |
ModuleWebhooks.create(CMAWebhook webhook)
Create a new webhook.
|
CMACallback<CMAWebhook> |
ModuleWebhooks.Async.create(CMAWebhook webhook,
CMACallback<CMAWebhook> callback)
Asynchronous variant of
ModuleWebhooks.create(String, CMAWebhook) |
CMAWebhook |
ModuleWebhooks.create(java.lang.String spaceId,
CMAWebhook webhook)
Create a new webhook.
|
CMACallback<CMAWebhook> |
ModuleWebhooks.Async.create(java.lang.String spaceId,
CMAWebhook webhook,
CMACallback<CMAWebhook> callback)
Asynchronous variant of
ModuleWebhooks.create(String, CMAWebhook) |
java.lang.Integer |
ModuleWebhooks.delete(CMAWebhook webhook)
Delete a given Webhook.
|
CMACallback<java.lang.Integer> |
ModuleWebhooks.Async.delete(CMAWebhook webhook,
CMACallback<java.lang.Integer> callback)
Asynchronous variant of
ModuleWebhooks.delete(CMAWebhook) |
CMAWebhookHealth |
ModuleWebhooks.health(CMAWebhook webhook)
Return a general understanding of the health of the webhook.
|
CMACallback<CMAWebhookHealth> |
ModuleWebhooks.Async.health(CMAWebhook webhook,
CMACallback<CMAWebhookHealth> callback)
Asynchronous variant of
ModuleWebhooks.health(CMAWebhook) |
CMAWebhook |
ModuleWebhooks.update(CMAWebhook webhook)
Change the content of a webhook.
|
CMACallback<CMAWebhook> |
ModuleWebhooks.Async.update(CMAWebhook webhook,
CMACallback<CMAWebhook> callback)
Asynchronous variant of
ModuleWebhooks.update(CMAWebhook) |
Modifier and Type | Method and Description |
---|---|
CMACallback<CMAWebhook> |
ModuleWebhooks.Async.create(CMAWebhook webhook,
CMACallback<CMAWebhook> callback)
Asynchronous variant of
ModuleWebhooks.create(String, CMAWebhook) |
CMACallback<CMAWebhook> |
ModuleWebhooks.Async.create(java.lang.String spaceId,
CMAWebhook webhook,
CMACallback<CMAWebhook> callback)
Asynchronous variant of
ModuleWebhooks.create(String, CMAWebhook) |
CMACallback<CMAArray<CMAWebhook>> |
ModuleWebhooks.Async.fetchAll(CMACallback<CMAArray<CMAWebhook>> callback)
Asynchronous variant of
ModuleWebhooks.fetchAll() |
CMACallback<CMAArray<CMAWebhook>> |
ModuleWebhooks.Async.fetchAll(java.util.Map<java.lang.String,java.lang.String> query,
CMACallback<CMAArray<CMAWebhook>> callback)
Asynchronous variant of
ModuleWebhooks.fetchAll(Map) |
CMACallback<CMAArray<CMAWebhook>> |
ModuleWebhooks.Async.fetchAll(java.lang.String spaceId,
CMACallback<CMAArray<CMAWebhook>> callback)
Asynchronous variant of
ModuleWebhooks.fetchAll(String) |
CMACallback<CMAArray<CMAWebhook>> |
ModuleWebhooks.Async.fetchAll(java.lang.String spaceId,
java.util.Map<java.lang.String,java.lang.String> query,
CMACallback<CMAArray<CMAWebhook>> callback)
Asynchronous variant of
ModuleWebhooks.fetchAll(String, Map) |
CMACallback<CMAWebhook> |
ModuleWebhooks.Async.fetchOne(java.lang.String webhookId,
CMACallback<CMAWebhook> callback)
Asynchronous variant of
ModuleWebhooks.fetchOne(String) |
CMACallback<CMAWebhook> |
ModuleWebhooks.Async.fetchOne(java.lang.String spaceId,
java.lang.String webhookId,
CMACallback<CMAWebhook> callback)
Asynchronous variant of
ModuleWebhooks.fetchOne(String, String) |
CMACallback<CMAWebhook> |
ModuleWebhooks.Async.update(CMAWebhook webhook,
CMACallback<CMAWebhook> callback)
Asynchronous variant of
ModuleWebhooks.update(CMAWebhook) |
Modifier and Type | Method and Description |
---|---|
CMAWebhook |
CMAWebhook.addHeader(java.lang.String key,
java.lang.String value)
Adds a custom http header to the call done by this webhook.
|
CMAWebhook |
CMAWebhook.addTopic(CMAWebhookTopic topic)
Add a topic this webhook should be triggered on.
|
CMAWebhook |
CMAWebhook.setBasicAuthorization(java.lang.String user,
java.lang.String password)
Set authorization parameter for basic HTTP authorization on the url to be called by this
webhook.
|
CMAWebhook |
CMAWebhook.setId(java.lang.String id)
Convenience: Update the id of this entry without going through
CMAResource.getSystem() . |
CMAWebhook |
CMAWebhook.setName(java.lang.String name)
Set the name of this webhook.
|
CMAWebhook |
CMAWebhook.setSpaceId(java.lang.String spaceId)
Convenience: Update the space id of this entry without going through
CMAResource.getSystem() . |
CMAWebhook |
CMAWebhook.setSystem(CMASystem system)
Sets the system field.
|
CMAWebhook |
CMAWebhook.setUrl(java.lang.String url)
Sets the url to be called when this webhook is triggered.
|
CMAWebhook |
CMAWebhook.setVersion(java.lang.Integer version)
Convenience: Update the version of this entry without going through
CMAResource.getSystem() . |
Copyright © 2019 Contentful, GmbH.. All Rights Reserved.