Package io.github.cdklabs.projen.release
Class BranchOptions.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.release.BranchOptions.Jsii$Proxy
-
- All Implemented Interfaces:
BranchOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- BranchOptions
@Stability(Experimental) @Internal public static final class BranchOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements BranchOptions
An implementation forBranchOptions
-
-
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.BranchOptions
BranchOptions.Builder, BranchOptions.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(BranchOptions.Builder builder)Constructor that initializes the object based on literal property values passed by theBranchOptions.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)NumbergetMajorVersion()(experimental) The major versions released from this branch.NumbergetMinMajorVersion()(experimental) The minimum major version to release.NumbergetMinorVersion()(experimental) The minor versions released from this branch.StringgetNpmDistTag()(experimental) The npm distribution tag to use for this branch.StringgetPrerelease()(experimental) Bump the version as a pre-release tag.StringgetTagPrefix()(experimental) Automatically add the given prefix to release tags.StringgetWorkflowName()(experimental) The name of the release workflow.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(BranchOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by theBranchOptions.Builder.
-
-
Method Detail
-
getMajorVersion
public final Number getMajorVersion()
Description copied from interface:BranchOptions(experimental) The major versions released from this branch.- Specified by:
getMajorVersionin interfaceBranchOptions
-
getMinMajorVersion
public final Number getMinMajorVersion()
Description copied from interface:BranchOptions(experimental) The minimum major version to release.- Specified by:
getMinMajorVersionin interfaceBranchOptions
-
getMinorVersion
public final Number getMinorVersion()
Description copied from interface:BranchOptions(experimental) The minor versions released from this branch.- Specified by:
getMinorVersionin interfaceBranchOptions
-
getNpmDistTag
public final String getNpmDistTag()
Description copied from interface:BranchOptions(experimental) The npm distribution tag to use for this branch.Default: "latest"
- Specified by:
getNpmDistTagin interfaceBranchOptions
-
getPrerelease
public final String getPrerelease()
Description copied from interface:BranchOptions(experimental) Bump the version as a pre-release tag.Default: - normal releases
- Specified by:
getPrereleasein interfaceBranchOptions
-
getTagPrefix
public final String getTagPrefix()
Description copied from interface:BranchOptions(experimental) Automatically add the given prefix to release tags. Useful if you are releasing on multiple branches with overlapping version numbers.Note: this prefix is used to detect the latest tagged version when bumping, so if you change this on a project with an existing version history, you may need to manually tag your latest release with the new prefix.
Default: - no prefix
- Specified by:
getTagPrefixin interfaceBranchOptions
-
getWorkflowName
public final String getWorkflowName()
Description copied from interface:BranchOptions(experimental) The name of the release workflow.Default: "release-BRANCH"
- Specified by:
getWorkflowNamein interfaceBranchOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-