public static interface WebhookFilterRule.Builder extends SdkPojo, CopyableBuilder<WebhookFilterRule.Builder,WebhookFilterRule>
| Modifier and Type | Method and Description |
|---|---|
WebhookFilterRule.Builder |
jsonPath(String jsonPath)
A JsonPath expression that is applied to the body/payload of the webhook.
|
WebhookFilterRule.Builder |
matchEquals(String matchEquals)
The value selected by the
JsonPath expression must match what is supplied in the
MatchEquals field. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildWebhookFilterRule.Builder jsonPath(String jsonPath)
A JsonPath expression that is applied to the body/payload of the webhook. The value selected by the JsonPath
expression must match the value specified in the MatchEquals field. Otherwise, the request is
ignored. For more information, see Java JsonPath
implementation in GitHub.
jsonPath - A JsonPath expression that is applied to the body/payload of the webhook. The value selected by the
JsonPath expression must match the value specified in the MatchEquals field. Otherwise,
the request is ignored. For more information, see Java
JsonPath implementation in GitHub.WebhookFilterRule.Builder matchEquals(String matchEquals)
The value selected by the JsonPath expression must match what is supplied in the
MatchEquals field. Otherwise, the request is ignored. Properties from the target action
configuration can be included as placeholders in this value by surrounding the action configuration key with
curly brackets. For example, if the value supplied here is "refs/heads/{Branch}" and the target action has an
action configuration property called "Branch" with a value of "master", the MatchEquals value is
evaluated as "refs/heads/master". For a list of action configuration properties for built-in action types,
see Pipeline Structure Reference Action Requirements.
matchEquals - The value selected by the JsonPath expression must match what is supplied in the
MatchEquals field. Otherwise, the request is ignored. Properties from the target action
configuration can be included as placeholders in this value by surrounding the action configuration
key with curly brackets. For example, if the value supplied here is "refs/heads/{Branch}" and the
target action has an action configuration property called "Branch" with a value of "master", the
MatchEquals value is evaluated as "refs/heads/master". For a list of action configuration
properties for built-in action types, see Pipeline Structure Reference Action Requirements.Copyright © 2023. All rights reserved.