Package io.github.cdklabs.projen.release
Class JsiiReleaseNuget.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.release.JsiiReleaseNuget.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<JsiiReleaseNuget>
- Enclosing interface:
- JsiiReleaseNuget
@Stability(Deprecated) @Deprecated public static final class JsiiReleaseNuget.Builder extends Object implements software.amazon.jsii.Builder<JsiiReleaseNuget>
Deprecated.A builder forJsiiReleaseNuget
-
-
Constructor Summary
Constructors Constructor Description Builder()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description JsiiReleaseNugetbuild()Deprecated.JsiiReleaseNuget.BuildernugetApiKeySecret(String nugetApiKeySecret)Deprecated.Sets the value ofNugetPublishOptions.getNugetApiKeySecret()JsiiReleaseNuget.BuildernugetServer(String nugetServer)Deprecated.Sets the value ofNugetPublishOptions.getNugetServer()JsiiReleaseNuget.BuilderpostPublishSteps(List<? extends JobStep> postPublishSteps)Deprecated.Sets the value ofCommonPublishOptions.getPostPublishSteps()JsiiReleaseNuget.BuilderprePublishSteps(List<? extends JobStep> prePublishSteps)Deprecated.Sets the value ofCommonPublishOptions.getPrePublishSteps()JsiiReleaseNuget.BuilderpublishTools(Tools publishTools)Deprecated.Sets the value ofCommonPublishOptions.getPublishTools()
-
-
-
Method Detail
-
nugetApiKeySecret
@Stability(Experimental) public JsiiReleaseNuget.Builder nugetApiKeySecret(String nugetApiKeySecret)
Deprecated.Sets the value ofNugetPublishOptions.getNugetApiKeySecret()- Parameters:
nugetApiKeySecret- GitHub secret which contains the API key for NuGet.- Returns:
this
-
nugetServer
@Stability(Experimental) public JsiiReleaseNuget.Builder nugetServer(String nugetServer)
Deprecated.Sets the value ofNugetPublishOptions.getNugetServer()- Parameters:
nugetServer- NuGet Server URL (defaults to nuget.org).- Returns:
this
-
postPublishSteps
@Stability(Experimental) public JsiiReleaseNuget.Builder postPublishSteps(List<? extends JobStep> postPublishSteps)
Deprecated.Sets the value ofCommonPublishOptions.getPostPublishSteps()- Parameters:
postPublishSteps- Steps to execute after executing the publishing command. These can be used to add/update the release artifacts ot any other tasks needed.Note that when using this in
publishToGitHubReleasesthis will override steps added viaaddGitHubPostPublishingSteps.- Returns:
this
-
prePublishSteps
@Stability(Experimental) public JsiiReleaseNuget.Builder prePublishSteps(List<? extends JobStep> prePublishSteps)
Deprecated.Sets the value ofCommonPublishOptions.getPrePublishSteps()- Parameters:
prePublishSteps- Steps to execute before executing the publishing command. These can be used to prepare the artifact for publishing if neede. These steps are executed afterdist/has been populated with the build output.Note that when using this in
publishToGitHubReleasesthis will override steps added viaaddGitHubPrePublishingSteps.- Returns:
this
-
publishTools
@Stability(Experimental) public JsiiReleaseNuget.Builder publishTools(Tools publishTools)
Deprecated.Sets the value ofCommonPublishOptions.getPublishTools()- Parameters:
publishTools- Additional tools to install in the publishing job.- Returns:
this
-
build
@Stability(Deprecated) @Deprecated public JsiiReleaseNuget build()
Deprecated.Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<JsiiReleaseNuget>- Returns:
- a new instance of
JsiiReleaseNuget - Throws:
NullPointerException- if any required attribute was not provided
-
-