Package io.github.cdklabs.projen.release
Class ManualReleaseOptions.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.release.ManualReleaseOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ManualReleaseOptions>
- Enclosing interface:
- ManualReleaseOptions
@Stability(Experimental) public static final class ManualReleaseOptions.Builder extends Object implements software.amazon.jsii.Builder<ManualReleaseOptions>
A builder forManualReleaseOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManualReleaseOptionsbuild()Builds the configured instance.ManualReleaseOptions.Builderchangelog(Boolean changelog)Sets the value ofManualReleaseOptions.getChangelog()ManualReleaseOptions.BuilderchangelogPath(String changelogPath)Sets the value ofManualReleaseOptions.getChangelogPath()ManualReleaseOptions.BuildergitPushCommand(String gitPushCommand)Sets the value ofManualReleaseOptions.getGitPushCommand()
-
-
-
Method Detail
-
changelog
@Stability(Experimental) public ManualReleaseOptions.Builder changelog(Boolean changelog)
Sets the value ofManualReleaseOptions.getChangelog()- Parameters:
changelog- Maintain a project-level changelog.- Returns:
this
-
changelogPath
@Stability(Experimental) public ManualReleaseOptions.Builder changelogPath(String changelogPath)
Sets the value ofManualReleaseOptions.getChangelogPath()- Parameters:
changelogPath- Project-level changelog file path. Ignored ifchangelogis false.- Returns:
this
-
gitPushCommand
@Stability(Experimental) public ManualReleaseOptions.Builder gitPushCommand(String gitPushCommand)
Sets the value ofManualReleaseOptions.getGitPushCommand()- Parameters:
gitPushCommand- Override git-push command. Set to an empty string to disable pushing.- Returns:
this
-
build
@Stability(Experimental) public ManualReleaseOptions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ManualReleaseOptions>- Returns:
- a new instance of
ManualReleaseOptions - Throws:
NullPointerException- if any required attribute was not provided
-
-