Class PublisherOptions.Jsii$Proxy

    • 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.
    • 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:
        getArtifactName in interface PublisherOptions
        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:
        getBuildJobId in interface PublisherOptions
      • 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:
        getCondition in interface PublisherOptions
      • 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:
        getDryRun in interface PublisherOptions
      • 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 failureIssue is true.

        Default: "failed-release"

        Specified by:
        getFailureIssueLabel in interface PublisherOptions
      • 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:
        getPublishTasks in interface PublisherOptions
      • 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:
        getWorkflowNodeVersion in interface PublisherOptions
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object