Class ReleaseProjectOptions.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.release.ReleaseProjectOptions.Jsii$Proxy
-
- All Implemented Interfaces:
ReleaseProjectOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ReleaseProjectOptions
@Stability(Experimental) @Internal public static final class ReleaseProjectOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ReleaseProjectOptions
An implementation forReleaseProjectOptions
-
-
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.ReleaseProjectOptions
ReleaseProjectOptions.Builder, ReleaseProjectOptions.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ReleaseProjectOptions.Builder builder)Constructor that initializes the object based on literal property values passed by theReleaseProjectOptions.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)StringgetJsiiReleaseVersion()(experimental) Version requirement ofpublibwhich is used to publish modules to npm.NumbergetMajorVersion()(experimental) Major version to release from the default branch.NumbergetMinMajorVersion()(experimental) Minimal Major version to release.StringgetNpmDistTag()(experimental) The npmDistTag to use when publishing from the default branch.List<JobStep>getPostBuildSteps()(experimental) Steps to execute after build as part of the release workflow.StringgetPrerelease()(experimental) Bump versions from the default branch as pre-releases (e.g.BooleangetPublishDryRun()(experimental) Instead of actually publishing to package managers, just print the publishing command.BooleangetPublishTasks()(experimental) Define publishing tasks that can be executed manually as well as workflows.ReleasableCommitsgetReleasableCommits()(experimental) Find commits that should be considered releasable Used to decide if a release is required.Map<String,BranchOptions>getReleaseBranches()(experimental) Defines additional release branches.BooleangetReleaseEveryCommit()(deprecated) Automatically release new versions every commit to one of branches inreleaseBranches.BooleangetReleaseFailureIssue()(experimental) Create a github issue on every failed publishing task.StringgetReleaseFailureIssueLabel()(experimental) The label to apply to issues indicating publish failures.StringgetReleaseSchedule()(deprecated) CRON schedule to trigger new releases.StringgetReleaseTagPrefix()(experimental) Automatically add the given prefix to release tags.ReleaseTriggergetReleaseTrigger()(experimental) The release trigger to use.StringgetReleaseWorkflowName()(experimental) The name of the default release workflow.List<JobStep>getReleaseWorkflowSetupSteps()(experimental) A set of workflow steps to execute in order to setup the workflow container.Map<String,Object>getVersionrcOptions()(experimental) Custom configuration used when creating changelog with standard-version package.StringgetWorkflowContainerImage()(experimental) Container image to use for GitHub workflows.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(ReleaseProjectOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by theReleaseProjectOptions.Builder.
-
-
Method Detail
-
getJsiiReleaseVersion
public final String getJsiiReleaseVersion()
Description copied from interface:ReleaseProjectOptions(experimental) Version requirement ofpublibwhich is used to publish modules to npm.Default: "latest"
- Specified by:
getJsiiReleaseVersionin interfaceReleaseProjectOptions
-
getMajorVersion
public final Number getMajorVersion()
Description copied from interface:ReleaseProjectOptions(experimental) Major version to release from the default branch.If this is specified, we bump the latest version of this major version line. If not specified, we bump the global latest version.
Default: - Major version is not enforced.
- Specified by:
getMajorVersionin interfaceReleaseProjectOptions
-
getMinMajorVersion
public final Number getMinMajorVersion()
Description copied from interface:ReleaseProjectOptions(experimental) Minimal Major version to release.This can be useful to set to 1, as breaking changes before the 1.x major release are not incrementing the major version number.
Can not be set together with
majorVersion.Default: - No minimum version is being enforced
- Specified by:
getMinMajorVersionin interfaceReleaseProjectOptions
-
getNpmDistTag
public final String getNpmDistTag()
Description copied from interface:ReleaseProjectOptions(experimental) The npmDistTag to use when publishing from the default branch.To set the npm dist-tag for release branches, set the
npmDistTagproperty for each branch.Default: "latest"
- Specified by:
getNpmDistTagin interfaceReleaseProjectOptions
-
getPostBuildSteps
public final List<JobStep> getPostBuildSteps()
Description copied from interface:ReleaseProjectOptions(experimental) Steps to execute after build as part of the release workflow.Default: []
- Specified by:
getPostBuildStepsin interfaceReleaseProjectOptions
-
getPrerelease
public final String getPrerelease()
Description copied from interface:ReleaseProjectOptions(experimental) Bump versions from the default branch as pre-releases (e.g. "beta", "alpha", "pre").Default: - normal semantic versions
- Specified by:
getPrereleasein interfaceReleaseProjectOptions
-
getPublishDryRun
public final Boolean getPublishDryRun()
Description copied from interface:ReleaseProjectOptions(experimental) Instead of actually publishing to package managers, just print the publishing command.Default: false
- Specified by:
getPublishDryRunin interfaceReleaseProjectOptions
-
getPublishTasks
public final Boolean getPublishTasks()
Description copied from interface:ReleaseProjectOptions(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 interfaceReleaseProjectOptions
-
getReleasableCommits
public final ReleasableCommits getReleasableCommits()
Description copied from interface:ReleaseProjectOptions(experimental) Find commits that should be considered releasable Used to decide if a release is required.Default: ReleasableCommits.everyCommit()
- Specified by:
getReleasableCommitsin interfaceReleaseProjectOptions
-
getReleaseBranches
public final Map<String,BranchOptions> getReleaseBranches()
Description copied from interface:ReleaseProjectOptions(experimental) Defines additional release branches.A workflow will be created for each release branch which will publish releases from commits in this branch. Each release branch must be assigned a major version number which is used to enforce that versions published from that branch always use that major version. If multiple branches are used, the
majorVersionfield must also be provided for the default branch.Default: - no additional branches are used for release. you can use `addBranch()` to add additional branches.
- Specified by:
getReleaseBranchesin interfaceReleaseProjectOptions
-
getReleaseEveryCommit
public final Boolean getReleaseEveryCommit()
Description copied from interface:ReleaseProjectOptions(deprecated) Automatically release new versions every commit to one of branches inreleaseBranches.Default: true
- Specified by:
getReleaseEveryCommitin interfaceReleaseProjectOptions
-
getReleaseFailureIssue
public final Boolean getReleaseFailureIssue()
Description copied from interface:ReleaseProjectOptions(experimental) Create a github issue on every failed publishing task.Default: false
- Specified by:
getReleaseFailureIssuein interfaceReleaseProjectOptions
-
getReleaseFailureIssueLabel
public final String getReleaseFailureIssueLabel()
Description copied from interface:ReleaseProjectOptions(experimental) The label to apply to issues indicating publish failures.Only applies if
releaseFailureIssueis true.Default: "failed-release"
- Specified by:
getReleaseFailureIssueLabelin interfaceReleaseProjectOptions
-
getReleaseSchedule
public final String getReleaseSchedule()
Description copied from interface:ReleaseProjectOptions(deprecated) CRON schedule to trigger new releases.Default: - no scheduled releases
- Specified by:
getReleaseSchedulein interfaceReleaseProjectOptions
-
getReleaseTagPrefix
public final String getReleaseTagPrefix()
Description copied from interface:ReleaseProjectOptions(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: "v"
- Specified by:
getReleaseTagPrefixin interfaceReleaseProjectOptions
-
getReleaseTrigger
public final ReleaseTrigger getReleaseTrigger()
Description copied from interface:ReleaseProjectOptions(experimental) The release trigger to use.Default: - Continuous releases (`ReleaseTrigger.continuous()`)
- Specified by:
getReleaseTriggerin interfaceReleaseProjectOptions
-
getReleaseWorkflowName
public final String getReleaseWorkflowName()
Description copied from interface:ReleaseProjectOptions(experimental) The name of the default release workflow.Default: "release"
- Specified by:
getReleaseWorkflowNamein interfaceReleaseProjectOptions
-
getReleaseWorkflowSetupSteps
public final List<JobStep> getReleaseWorkflowSetupSteps()
Description copied from interface:ReleaseProjectOptions(experimental) A set of workflow steps to execute in order to setup the workflow container.- Specified by:
getReleaseWorkflowSetupStepsin interfaceReleaseProjectOptions
-
getVersionrcOptions
public final Map<String,Object> getVersionrcOptions()
Description copied from interface:ReleaseProjectOptions(experimental) Custom configuration used when creating changelog with standard-version package.Given values either append to default configuration or overwrite values in it.
Default: - standard configuration applicable for GitHub repositories
- Specified by:
getVersionrcOptionsin interfaceReleaseProjectOptions
-
getWorkflowContainerImage
public final String getWorkflowContainerImage()
Description copied from interface:ReleaseProjectOptions(experimental) Container image to use for GitHub workflows.Default: - default image
- Specified by:
getWorkflowContainerImagein interfaceReleaseProjectOptions
-
getWorkflowRunsOn
public final List<String> getWorkflowRunsOn()
Description copied from interface:ReleaseProjectOptions(experimental) Github Runner selection labels.Default: ["ubuntu-latest"]
- Specified by:
getWorkflowRunsOnin interfaceReleaseProjectOptions
-
getWorkflowRunsOnGroup
public final GroupRunnerOptions getWorkflowRunsOnGroup()
Description copied from interface:ReleaseProjectOptions(experimental) Github Runner Group selection options.- Specified by:
getWorkflowRunsOnGroupin interfaceReleaseProjectOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-