Package io.github.cdklabs.projen.github
Class DownloadArtifactWith.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.github.DownloadArtifactWith.Jsii$Proxy
-
- All Implemented Interfaces:
DownloadArtifactWith,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- DownloadArtifactWith
@Stability(Experimental) @Internal public static final class DownloadArtifactWith.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements DownloadArtifactWith
An implementation forDownloadArtifactWith
-
-
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.github.DownloadArtifactWith
DownloadArtifactWith.Builder, DownloadArtifactWith.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(DownloadArtifactWith.Builder builder)Constructor that initializes the object based on literal property values passed by theDownloadArtifactWith.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)BooleangetMergeMultiple()(experimental) When multiple artifacts are matched, this changes the behavior of the destination directories If true, the downloaded artifacts will be in the same directory specified by path If false, the downloaded artifacts will be extracted into individual named directories within the specified path.StringgetName()(experimental) Name of the artifact to download.StringgetPath()(experimental) A file, directory or wildcard pattern that describes what to download.StringgetPattern()(experimental) A glob pattern to the artifacts that should be downloaded This is ignored if name is specified.StringgetRepository()(experimental) The repository owner and the repository name joined together by "/" If github-token is specified, this is the repository that artifacts will be downloaded from.StringgetRunId()(experimental) The id of the workflow run where the desired download artifact was uploaded from If github-token is specified, this is the run that artifacts will be downloaded from.StringgetToken()(experimental) The GitHub token used to authenticate with the GitHub API to download artifacts from a different repository or from a different workflow run.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(DownloadArtifactWith.Builder builder)
Constructor that initializes the object based on literal property values passed by theDownloadArtifactWith.Builder.
-
-
Method Detail
-
getMergeMultiple
public final Boolean getMergeMultiple()
Description copied from interface:DownloadArtifactWith(experimental) When multiple artifacts are matched, this changes the behavior of the destination directories If true, the downloaded artifacts will be in the same directory specified by path If false, the downloaded artifacts will be extracted into individual named directories within the specified path.Default: false
- Specified by:
getMergeMultiplein interfaceDownloadArtifactWith
-
getName
public final String getName()
Description copied from interface:DownloadArtifactWith(experimental) Name of the artifact to download.Default: - If unspecified, all artifacts for the run are downloaded
- Specified by:
getNamein interfaceDownloadArtifactWith
-
getPath
public final String getPath()
Description copied from interface:DownloadArtifactWith(experimental) A file, directory or wildcard pattern that describes what to download.Supports basic tilde expansion.
Default: - $GITHUB_WORKSPACE
- Specified by:
getPathin interfaceDownloadArtifactWith
-
getPattern
public final String getPattern()
Description copied from interface:DownloadArtifactWith(experimental) A glob pattern to the artifacts that should be downloaded This is ignored if name is specified.- Specified by:
getPatternin interfaceDownloadArtifactWith
-
getRepository
public final String getRepository()
Description copied from interface:DownloadArtifactWith(experimental) The repository owner and the repository name joined together by "/" If github-token is specified, this is the repository that artifacts will be downloaded from.Default: - ${{ github.repository }}
- Specified by:
getRepositoryin interfaceDownloadArtifactWith
-
getRunId
public final String getRunId()
Description copied from interface:DownloadArtifactWith(experimental) The id of the workflow run where the desired download artifact was uploaded from If github-token is specified, this is the run that artifacts will be downloaded from.Default: - ${{ github.run_id }}
- Specified by:
getRunIdin interfaceDownloadArtifactWith
-
getToken
public final String getToken()
Description copied from interface:DownloadArtifactWith(experimental) The GitHub token used to authenticate with the GitHub API to download artifacts from a different repository or from a different workflow run.Default: - If unspecified, the action will download artifacts from the current repo and the current workflow run
- Specified by:
getTokenin interfaceDownloadArtifactWith
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-