Package io.github.cdklabs.projen.gitlab
Class Artifacts.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.gitlab.Artifacts.Jsii$Proxy
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface io.github.cdklabs.projen.gitlab.Artifacts
Artifacts.Builder, Artifacts.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(Artifacts.Builder builder)Constructor that initializes the object based on literal property values passed by theArtifacts.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)List<String>getExclude()(experimental) A list of paths to files/folders that should be excluded in the artifact.StringgetExpireIn()(experimental) How long artifacts should be kept.StringgetExposeAs()(experimental) Can be used to expose job artifacts in the merge request UI.StringgetName()(experimental) Name for the archive created on job success.List<String>getPaths()(experimental) A list of paths to files/folders that should be included in the artifact.ReportsgetReports()(experimental) Reports will be uploaded as artifacts, and often displayed in the Gitlab UI, such as in Merge Requests.BooleangetUntracked()(experimental) Whether to add all untracked files (along with 'artifacts.paths') to the artifact.CacheWhengetWhen()(experimental) Configure when artifacts are uploaded depended on job status.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(Artifacts.Builder builder)
Constructor that initializes the object based on literal property values passed by theArtifacts.Builder.
-
-
Method Detail
-
getExclude
public final List<String> getExclude()
Description copied from interface:Artifacts(experimental) A list of paths to files/folders that should be excluded in the artifact.- Specified by:
getExcludein interfaceArtifacts
-
getExpireIn
public final String getExpireIn()
Description copied from interface:Artifacts(experimental) How long artifacts should be kept.They are saved 30 days by default. Artifacts that have expired are removed periodically via cron job. Supports a wide variety of formats, e.g. '1 week', '3 mins 4 sec', '2 hrs 20 min', '2h20min', '6 mos 1 day', '47 yrs 6 mos and 4d', '3 weeks and 2 days'.
- Specified by:
getExpireInin interfaceArtifacts
-
getExposeAs
public final String getExposeAs()
Description copied from interface:Artifacts(experimental) Can be used to expose job artifacts in the merge request UI.GitLab will add a link <expose_as> to the relevant merge request that points to the artifact.
- Specified by:
getExposeAsin interfaceArtifacts
-
getName
public final String getName()
Description copied from interface:Artifacts(experimental) Name for the archive created on job success.Can use variables in the name, e.g. '$CI_JOB_NAME'
-
getPaths
public final List<String> getPaths()
Description copied from interface:Artifacts(experimental) A list of paths to files/folders that should be included in the artifact.
-
getReports
public final Reports getReports()
Description copied from interface:Artifacts(experimental) Reports will be uploaded as artifacts, and often displayed in the Gitlab UI, such as in Merge Requests.- Specified by:
getReportsin interfaceArtifacts
-
getUntracked
public final Boolean getUntracked()
Description copied from interface:Artifacts(experimental) Whether to add all untracked files (along with 'artifacts.paths') to the artifact.- Specified by:
getUntrackedin interfaceArtifacts
-
getWhen
public final CacheWhen getWhen()
Description copied from interface:Artifacts(experimental) Configure when artifacts are uploaded depended on job status.
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-