Class WebhookFilterGroupFilter


  • public final class WebhookFilterGroupFilter
    extends java.lang.Object
    • Method Detail

      • excludeMatchedPattern

        public java.util.Optional<java.lang.Boolean> excludeMatchedPattern()
        Returns:
        If set to `true`, the specified filter does *not* trigger a build. Defaults to `false`.
      • pattern

        public java.lang.String pattern()
        Returns:
        For a filter that uses `EVENT` type, a comma-separated string that specifies one event: `PUSH`, `PULL_REQUEST_CREATED`, `PULL_REQUEST_UPDATED`, `PULL_REQUEST_REOPENED`. `PULL_REQUEST_MERGED`, `WORKFLOW_JOB_QUEUED` works with GitHub & GitHub Enterprise only. For a filter that uses any of the other filter types, a regular expression.
      • type

        public java.lang.String type()
        Returns:
        The webhook filter group's type. Valid values for this parameter are: `EVENT`, `BASE_REF`, `HEAD_REF`, `ACTOR_ACCOUNT_ID`, `FILE_PATH`, `COMMIT_MESSAGE`, `WORKFLOW_NAME`, `TAG_NAME`, `RELEASE_NAME`, `REPOSITORY_NAME`. At least one filter group must specify `EVENT` as its type.