@Stability(value=Stable) @Internal public static final class CfnProject.WebhookFilterProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnProject.WebhookFilterProperty
CfnProject.WebhookFilterPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnProject.WebhookFilterProperty.Builder, CfnProject.WebhookFilterProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnProject.WebhookFilterProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnProject.ArtifactsProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Object |
getExcludeMatchedPattern()
Used to indicate that the `pattern` determines which webhook events do not trigger a build.
|
String |
getPattern()
For a `WebHookFilter` that uses `EVENT` type, a comma-separated string that specifies one or more events.
|
String |
getType()
The type of webhook filter.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnProject.WebhookFilterProperty.Builder builder)
CfnProject.ArtifactsProperty.Builder.public final String getPattern()
CfnProject.WebhookFilterProperty
For example, the webhook filter PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED allows all push, pull request created, and pull request updated events to trigger a build.
For a WebHookFilter that uses any of the other filter types, a regular expression pattern. For example, a WebHookFilter that uses HEAD_REF for its type and the pattern ^refs/heads/ triggers a build when the head reference is a branch with a reference name refs/heads/branch-name .
getPattern in interface CfnProject.WebhookFilterPropertypublic final String getType()
CfnProject.WebhookFilterProperty
There are six webhook filter types: EVENT , ACTOR_ACCOUNT_ID , HEAD_REF , BASE_REF , FILE_PATH , and COMMIT_MESSAGE .
pattern matches one of five event types: PUSH , PULL_REQUEST_CREATED , PULL_REQUEST_UPDATED , PULL_REQUEST_REOPENED , and PULL_REQUEST_MERGED . The EVENT patterns are specified as a comma-separated string. For example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED filters all push, pull request created, and pull request updated events.
The
PULL_REQUEST_REOPENEDworks with GitHub and GitHub Enterprise only.
pattern .pattern . For example, refs/heads/branch-name and refs/tags/tag-name .Works with GitHub and GitHub Enterprise push, GitHub and GitHub Enterprise pull request, Bitbucket push, and Bitbucket pull request events.
pattern . For example, refs/heads/branch-name .
Works with pull request events only.
pattern .
Works with GitHub and Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events.
pattern .
Works with GitHub and Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events.
getType in interface CfnProject.WebhookFilterPropertypublic final Object getExcludeMatchedPattern()
CfnProject.WebhookFilterProperty
If true, then a webhook event that does not match the pattern triggers a build. If false, then a webhook event that matches the pattern triggers a build.
getExcludeMatchedPattern in interface CfnProject.WebhookFilterProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.