Interface GitPullRequestFilter
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
GitPullRequestFilter.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-21T06:34:05.311Z")
@Stability(Stable)
public interface GitPullRequestFilter
extends software.amazon.jsii.JsiiSerializable
Git pull request filter for trigger.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codepipeline.*;
GitPullRequestFilter gitPullRequestFilter = GitPullRequestFilter.builder()
.branchesExcludes(List.of("branchesExcludes"))
.branchesIncludes(List.of("branchesIncludes"))
.events(List.of(GitPullRequestEvent.OPEN))
.filePathsExcludes(List.of("filePathsExcludes"))
.filePathsIncludes(List.of("filePathsIncludes"))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forGitPullRequestFilterstatic final classAn implementation forGitPullRequestFilter -
Method Summary
Modifier and TypeMethodDescriptionstatic GitPullRequestFilter.Builderbuilder()The list of patterns of Git branches that, when pull request events occurs, are to be excluded from starting the pipeline.The list of patterns of Git branches that, when pull request events occurs, are to be included as criteria that starts the pipeline.default List<GitPullRequestEvent>The field that specifies which pull request events to filter on (opened, updated, closed) for the trigger configuration.The list of patterns of Git repository file paths that, when pull request events occurs, are to be excluded from starting the pipeline.The list of patterns of Git repository file paths that, when pull request events occurs, are to be included as criteria that starts the pipeline.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBranchesExcludes
The list of patterns of Git branches that, when pull request events occurs, are to be excluded from starting the pipeline.You can filter with glob patterns. The
branchesExcludestakes priority over thebranchesIncludes.Maximum length of this array is 8.
Default: - no branches.
-
getBranchesIncludes
The list of patterns of Git branches that, when pull request events occurs, are to be included as criteria that starts the pipeline.You can filter with glob patterns. The
branchesExcludestakes priority over thebranchesIncludes.Maximum length of this array is 8.
Default: - no branches.
-
getEvents
The field that specifies which pull request events to filter on (opened, updated, closed) for the trigger configuration.Default: - all events.
-
getFilePathsExcludes
The list of patterns of Git repository file paths that, when pull request events occurs, are to be excluded from starting the pipeline.You can filter with glob patterns. The
filePathsExcludestakes priority over thefilePathsIncludes.Maximum length of this array is 8.
Default: - no filePaths.
-
getFilePathsIncludes
The list of patterns of Git repository file paths that, when pull request events occurs, are to be included as criteria that starts the pipeline.You can filter with glob patterns. The
filePathsExcludestakes priority over thefilePathsIncludes.Maximum length of this array is 8.
Default: - no filePaths.
-
builder
- Returns:
- a
GitPullRequestFilter.BuilderofGitPullRequestFilter
-