| Modifier and Type | Method and Description |
|---|---|
Webhook.Update |
Webhook.UpdateStages.WithDefaultStatus.enabled(boolean defaultStatus)
Specifies the default status of the webhook; default is "enabled".
|
Webhook.Update |
Webhook.UpdateStages.WithCustomHeaders.withCustomHeader(String name,
String value)
Specifies a custom header that will be added to notifications.
|
Webhook.Update |
Webhook.UpdateStages.WithCustomHeaders.withCustomHeaders(Map<String,String> customHeaders)
Specifies custom headers that will be added to the notifications.
|
Webhook.Update |
Webhook.UpdateStages.WithRepositoriesScope.withRepositoriesScope(String repositoriesScope)
Specifies the scope of repositories where the event can be triggered.
|
Webhook.Update |
Webhook.UpdateStages.WithServiceUri.withServiceUri(String serviceUri)
Specifies the service URI for post notifications.
|
Webhook.Update |
Webhook.UpdateStages.WithTriggerWhen.withTriggerWhen(WebhookAction... webhookActions)
Specifies the actions that will trigger the webhook notifications.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/