Package io.github.cdklabs.projen.gitlab
Interface Include
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
Include.Jsii$Proxy
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:43.121Z") @Stability(Experimental) public interface Include extends software.amazon.jsii.JsiiSerializable
(experimental) An included YAML file.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classInclude.BuilderA builder forIncludestatic classInclude.Jsii$ProxyAn implementation forInclude
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static Include.Builderbuilder()default List<String>getFile()(experimental) Files from another private project on the same GitLab instance.default StringgetLocal()(experimental) Relative path from local repository root (/) to theyaml/ymlfile template.default StringgetProject()(experimental) Path to the project, e.g.default StringgetRef()(experimental) Branch/Tag/Commit-hash for the target project.default StringgetRemote()(experimental) URL to ayaml/ymltemplate file using HTTP/HTTPS.default List<IncludeRule>getRules()(experimental) Rules allows for an array of individual rule objects to be evaluated in order, until one matches and dynamically provides attributes to the job.default StringgetTemplate()(experimental) Use a.gitlab-ci.ymltemplate as a base, e.g.
-
-
-
Method Detail
-
getFile
@Stability(Experimental) @Nullable default List<String> getFile()
(experimental) Files from another private project on the same GitLab instance.You can use
filein combination withprojectonly.
-
getLocal
@Stability(Experimental) @Nullable default String getLocal()
(experimental) Relative path from local repository root (/) to theyaml/ymlfile template.The file must be on the same branch, and does not work across git submodules.
-
getProject
@Stability(Experimental) @Nullable default String getProject()
(experimental) Path to the project, e.g.group/project, orgroup/sub-group/project.
-
getRef
@Stability(Experimental) @Nullable default String getRef()
(experimental) Branch/Tag/Commit-hash for the target project.
-
getRemote
@Stability(Experimental) @Nullable default String getRemote()
(experimental) URL to ayaml/ymltemplate file using HTTP/HTTPS.
-
getRules
@Stability(Experimental) @Nullable default List<IncludeRule> getRules()
(experimental) Rules allows for an array of individual rule objects to be evaluated in order, until one matches and dynamically provides attributes to the job.
-
getTemplate
@Stability(Experimental) @Nullable default String getTemplate()
(experimental) Use a.gitlab-ci.ymltemplate as a base, e.g.Nodejs.gitlab-ci.yml.
-
builder
@Stability(Experimental) static Include.Builder builder()
- Returns:
- a
Include.BuilderofInclude
-
-