Interface Filter
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
Filter.Jsii$Proxy
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:43.060Z") @Stability(Experimental) public interface Filter extends software.amazon.jsii.JsiiSerializable
(experimental) The branches key controls whether the current branch should have a schedule trigger created for it, where current branch is the branch containing the config.yml file with the trigger stanza. That is, a push on the main branch will only schedule a workflow for the main branch.Branches can have the keys only and ignore which either map to a single string naming a branch. You may also use regular expressions to match against branches by enclosing them with /’s, or map to a list of such strings. Regular expressions must match the entire string.
Any branches that match only will run the job. Any branches that match ignore will not run the job. If neither only nor ignore are specified then all branches will run the job. If both only and ignore are specified the only is considered before ignore.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classFilter.BuilderA builder forFilterstatic classFilter.Jsii$ProxyAn implementation forFilter
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static Filter.Builderbuilder()default FilterConfiggetBranches()default FilterConfiggetTags()
-
-
-
Method Detail
-
getBranches
@Stability(Experimental) @Nullable default FilterConfig getBranches()
-
getTags
@Stability(Experimental) @Nullable default FilterConfig getTags()
-
builder
@Stability(Experimental) static Filter.Builder builder()
- Returns:
- a
Filter.BuilderofFilter
-
-