Package io.github.cdklabs.projen.github
Class UploadArtifactWith.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.github.UploadArtifactWith.Jsii$Proxy
-
- All Implemented Interfaces:
UploadArtifactWith,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- UploadArtifactWith
@Stability(Experimental) @Internal public static final class UploadArtifactWith.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements UploadArtifactWith
An implementation forUploadArtifactWith
-
-
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.UploadArtifactWith
UploadArtifactWith.Builder, UploadArtifactWith.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(UploadArtifactWith.Builder builder)Constructor that initializes the object based on literal property values passed by theUploadArtifactWith.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)NumbergetCompressionLevel()(experimental) The level of compression for Zlib to be applied to the artifact archive.StringgetIfNoFilesFound()(experimental) The desired behavior if no files are found using the provided path.StringgetName()(experimental) Name of the artifact to upload.BooleangetOverwrite()(experimental) Whether action should overwrite an existing artifact with the same name (should one exist).StringgetPath()(experimental) A file, directory or wildcard pattern that describes what to upload.NumbergetRetentionDays()(experimental) Duration after which artifact will expire in days.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(UploadArtifactWith.Builder builder)
Constructor that initializes the object based on literal property values passed by theUploadArtifactWith.Builder.
-
-
Method Detail
-
getPath
public final String getPath()
Description copied from interface:UploadArtifactWith(experimental) A file, directory or wildcard pattern that describes what to upload.- Specified by:
getPathin interfaceUploadArtifactWith
-
getCompressionLevel
public final Number getCompressionLevel()
Description copied from interface:UploadArtifactWith(experimental) The level of compression for Zlib to be applied to the artifact archive.The value can range from 0 to 9. For large files that are not easily compressed, a value of 0 is recommended for significantly faster uploads.
Default: 6
- Specified by:
getCompressionLevelin interfaceUploadArtifactWith
-
getIfNoFilesFound
public final String getIfNoFilesFound()
Description copied from interface:UploadArtifactWith(experimental) The desired behavior if no files are found using the provided path.Available Options: warn: Output a warning but do not fail the action error: Fail the action with an error message ignore: Do not output any warnings or errors, the action does not fail
Default: "warn"
- Specified by:
getIfNoFilesFoundin interfaceUploadArtifactWith
-
getName
public final String getName()
Description copied from interface:UploadArtifactWith(experimental) Name of the artifact to upload.Default: "artifact"
- Specified by:
getNamein interfaceUploadArtifactWith
-
getOverwrite
public final Boolean getOverwrite()
Description copied from interface:UploadArtifactWith(experimental) Whether action should overwrite an existing artifact with the same name (should one exist).Introduced in v4 and represents a breaking change from the behavior of the v3 action. To maintain backwards compatibility with existing, this should be set the
true(the default).Default: true
- Specified by:
getOverwritein interfaceUploadArtifactWith
-
getRetentionDays
public final Number getRetentionDays()
Description copied from interface:UploadArtifactWith(experimental) Duration after which artifact will expire in days. 0 means using default repository retention.Minimum 1 day. Maximum 90 days unless changed from the repository settings page.
Default: - The default repository retention
- Specified by:
getRetentionDaysin interfaceUploadArtifactWith
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-