Package io.github.cdklabs.projen.gitlab
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.119Z") @Stability(Experimental) public interface Filter extends software.amazon.jsii.JsiiSerializable
(experimental) Filtering options for when a job will run.
-
-
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 List<String>getChanges()(experimental) Filter job creation based on files that were modified in a git push.default KubernetesEnumgetKubernetes()(experimental) Filter job based on if Kubernetes integration is active.default List<String>getRefs()(experimental) Control when to add jobs to a pipeline based on branch names or pipeline types.default List<String>getVariables()(experimental) Filter job by checking comparing values of environment variables.
-
-
-
Method Detail
-
getChanges
@Stability(Experimental) @Nullable default List<String> getChanges()
(experimental) Filter job creation based on files that were modified in a git push.
-
getKubernetes
@Stability(Experimental) @Nullable default KubernetesEnum getKubernetes()
(experimental) Filter job based on if Kubernetes integration is active.
-
getRefs
@Stability(Experimental) @Nullable default List<String> getRefs()
(experimental) Control when to add jobs to a pipeline based on branch names or pipeline types.
-
getVariables
@Stability(Experimental) @Nullable default List<String> getVariables()
(experimental) Filter job by checking comparing values of environment variables.Read more about variable expressions: https://docs.gitlab.com/ee/ci/variables/README.html#variables-expressions
-
builder
@Stability(Experimental) static Filter.Builder builder()
- Returns:
- a
Filter.BuilderofFilter
-
-