Package io.github.cdklabs.projen.release
Class PublisherOptions.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.release.PublisherOptions.Jsii$Proxy
-
- All Implemented Interfaces:
PublisherOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- PublisherOptions
@Stability(Experimental) @Internal public static final class PublisherOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements PublisherOptions
An implementation forPublisherOptions
-
-
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.release.PublisherOptions
PublisherOptions.Builder, PublisherOptions.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(PublisherOptions.Builder builder)Constructor that initializes the object based on literal property values passed by thePublisherOptions.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)StringgetArtifactName()(experimental) The name of the artifact to download (e.g.StringgetBuildJobId()(experimental) The job ID that produces the build artifacts.StringgetCondition()(experimental) A GitHub workflow expression used as a condition for publishers.BooleangetDryRun()(experimental) Do not actually publish, only print the commands that would be executed instead.BooleangetFailureIssue()(experimental) Create an issue when a publish task fails.StringgetFailureIssueLabel()(experimental) The label to apply to the issue marking failed publish tasks.StringgetJsiiReleaseVersion()StringgetPublibVersion()(experimental) Version requirement forpublib.BooleangetPublishTasks()(experimental) Define publishing tasks that can be executed manually as well as workflows.StringgetWorkflowContainerImage()(experimental) Container image to use for GitHub workflows.StringgetWorkflowNodeVersion()(experimental) Node version to setup in GitHub workflows if any node-based CLI utilities are needed.List<String>getWorkflowRunsOn()(experimental) Github Runner selection labels.GroupRunnerOptionsgetWorkflowRunsOnGroup()(experimental) Github Runner Group selection options.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(PublisherOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by thePublisherOptions.Builder.
-
-
Method Detail
-
getArtifactName
public final String getArtifactName()
Description copied from interface:PublisherOptions(experimental) The name of the artifact to download (e.g.dist).The artifact is expected to include a subdirectory for each release target:
go(GitHub),dotnet(NuGet),java(Maven),js(npm),python(PyPI).- Specified by:
getArtifactNamein interfacePublisherOptions- See Also:
- https://github.com/aws/publib
-
getBuildJobId
public final String getBuildJobId()
Description copied from interface:PublisherOptions(experimental) The job ID that produces the build artifacts.All publish jobs will take a dependency on this job.
- Specified by:
getBuildJobIdin interfacePublisherOptions
-
getCondition
public final String getCondition()
Description copied from interface:PublisherOptions(experimental) A GitHub workflow expression used as a condition for publishers.Default: - no condition
- Specified by:
getConditionin interfacePublisherOptions
-
getDryRun
public final Boolean getDryRun()
Description copied from interface:PublisherOptions(experimental) Do not actually publish, only print the commands that would be executed instead.Useful if you wish to block all publishing from a single option.
- Specified by:
getDryRunin interfacePublisherOptions
-
getFailureIssue
public final Boolean getFailureIssue()
Description copied from interface:PublisherOptions(experimental) Create an issue when a publish task fails.Default: false
- Specified by:
getFailureIssuein interfacePublisherOptions
-
getFailureIssueLabel
public final String getFailureIssueLabel()
Description copied from interface:PublisherOptions(experimental) The label to apply to the issue marking failed publish tasks.Only applies if
failureIssueis true.Default: "failed-release"
- Specified by:
getFailureIssueLabelin interfacePublisherOptions
-
getJsiiReleaseVersion
public final String getJsiiReleaseVersion()
- Specified by:
getJsiiReleaseVersionin interfacePublisherOptions
-
getPublibVersion
public final String getPublibVersion()
Description copied from interface:PublisherOptions(experimental) Version requirement forpublib.Default: "latest"
- Specified by:
getPublibVersionin interfacePublisherOptions
-
getPublishTasks
public final Boolean getPublishTasks()
Description copied from interface:PublisherOptions(experimental) Define publishing tasks that can be executed manually as well as workflows.Normally, publishing only happens within automated workflows. Enable this in order to create a publishing task for each publishing activity.
Default: false
- Specified by:
getPublishTasksin interfacePublisherOptions
-
getWorkflowContainerImage
public final String getWorkflowContainerImage()
Description copied from interface:PublisherOptions(experimental) Container image to use for GitHub workflows.Default: - default image
- Specified by:
getWorkflowContainerImagein interfacePublisherOptions
-
getWorkflowNodeVersion
public final String getWorkflowNodeVersion()
Description copied from interface:PublisherOptions(experimental) Node version to setup in GitHub workflows if any node-based CLI utilities are needed.For example
publib, the CLI projen uses to publish releases, is an npm library.Default: 18.x
- Specified by:
getWorkflowNodeVersionin interfacePublisherOptions
-
getWorkflowRunsOn
public final List<String> getWorkflowRunsOn()
Description copied from interface:PublisherOptions(experimental) Github Runner selection labels.Default: ["ubuntu-latest"]
- Specified by:
getWorkflowRunsOnin interfacePublisherOptions
-
getWorkflowRunsOnGroup
public final GroupRunnerOptions getWorkflowRunsOnGroup()
Description copied from interface:PublisherOptions(experimental) Github Runner Group selection options.- Specified by:
getWorkflowRunsOnGroupin interfacePublisherOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-