@Stability(value=Experimental) @Internal public static final class ReleaseProjectOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ReleaseProjectOptions
ReleaseProjectOptionssoftware.amazon.jsii.JsiiObject.InitializationModeReleaseProjectOptions.Builder, ReleaseProjectOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(ReleaseProjectOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by the
ReleaseProjectOptions.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Boolean |
getAntitamper()
(experimental) Checks that after build there are no modified files on git.
|
String |
getArtifactsDirectory()
(experimental) A directory which will contain artifacts to be published to npm.
|
String |
getJsiiReleaseVersion()
(experimental) Version requirement of `jsii-release` which is used to publish modules to npm.
|
Number |
getMajorVersion()
(experimental) Major version to release from the default branch.
|
String |
getNpmDistTag()
(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.
|
String |
getPrerelease()
(experimental) Bump versions from the default branch as pre-releases (e.g.
|
Boolean |
getPublishTasks()
(experimental) Define publishing tasks that can be executed manually as well as workflows.
|
Map<String,BranchOptions> |
getReleaseBranches()
(experimental) Defines additional release branches.
|
Boolean |
getReleaseEveryCommit()
(deprecated) Automatically release new versions every commit to one of branches in `releaseBranches`.
|
Boolean |
getReleaseFailureIssue()
(experimental) Create a github issue on every failed publishing task.
|
String |
getReleaseFailureIssueLabel()
(experimental) The label to apply to issues indicating publish failures.
|
String |
getReleaseSchedule()
(deprecated) CRON schedule to trigger new releases.
|
String |
getReleaseTagPrefix()
(experimental) Automatically add the given prefix to release tags.
|
ReleaseTrigger |
getReleaseTrigger()
(experimental) The release trigger to use.
|
String |
getReleaseWorkflowName()
(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.
|
String |
getWorkflowContainerImage()
(experimental) Container image to use for GitHub workflows.
|
List<String> |
getWorkflowRunsOn()
(experimental) Github Runner selection labels.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(ReleaseProjectOptions.Builder builder)
ReleaseProjectOptions.Builder.public final Boolean getAntitamper()
ReleaseProjectOptionsDefault: true
getAntitamper in interface ReleaseProjectOptionspublic final String getArtifactsDirectory()
ReleaseProjectOptionsDefault: "dist"
getArtifactsDirectory in interface ReleaseProjectOptionspublic final String getJsiiReleaseVersion()
ReleaseProjectOptionsDefault: "latest"
getJsiiReleaseVersion in interface ReleaseProjectOptionspublic final Number getMajorVersion()
ReleaseProjectOptionsIf 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.
getMajorVersion in interface ReleaseProjectOptionspublic final String getNpmDistTag()
ReleaseProjectOptions
To set the npm dist-tag for release branches, set the npmDistTag property
for each branch.
Default: "latest"
getNpmDistTag in interface ReleaseProjectOptionspublic final List<JobStep> getPostBuildSteps()
ReleaseProjectOptionsDefault: []
getPostBuildSteps in interface ReleaseProjectOptionspublic final String getPrerelease()
ReleaseProjectOptionsDefault: - normal semantic versions
getPrerelease in interface ReleaseProjectOptionspublic final Boolean getPublishTasks()
ReleaseProjectOptionsNormally, publishing only happens within automated workflows. Enable this in order to create a publishing task for each publishing activity.
Default: false
getPublishTasks in interface ReleaseProjectOptionspublic final Map<String,BranchOptions> getReleaseBranches()
ReleaseProjectOptions
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 majorVersion field must also
be provided for the default branch.
Default: - no additional branches are used for release. you can use `addBranch()` to add additional branches.
getReleaseBranches in interface ReleaseProjectOptionspublic final Boolean getReleaseEveryCommit()
ReleaseProjectOptionsDefault: true
getReleaseEveryCommit in interface ReleaseProjectOptionspublic final Boolean getReleaseFailureIssue()
ReleaseProjectOptionsDefault: false
getReleaseFailureIssue in interface ReleaseProjectOptionspublic final String getReleaseFailureIssueLabel()
ReleaseProjectOptions
Only applies if releaseFailureIssue is true.
Default: "failed-release"
getReleaseFailureIssueLabel in interface ReleaseProjectOptionspublic final String getReleaseSchedule()
ReleaseProjectOptionsDefault: - no scheduled releases
getReleaseSchedule in interface ReleaseProjectOptionspublic final String getReleaseTagPrefix()
ReleaseProjectOptionsNote: 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
getReleaseTagPrefix in interface ReleaseProjectOptionspublic final ReleaseTrigger getReleaseTrigger()
ReleaseProjectOptionsDefault: - Continuous releases (`ReleaseTrigger.continuous()`)
getReleaseTrigger in interface ReleaseProjectOptionspublic final String getReleaseWorkflowName()
ReleaseProjectOptionsDefault: "Release"
getReleaseWorkflowName in interface ReleaseProjectOptionspublic final List<JobStep> getReleaseWorkflowSetupSteps()
ReleaseProjectOptionsgetReleaseWorkflowSetupSteps in interface ReleaseProjectOptionspublic final Map<String,Object> getVersionrcOptions()
ReleaseProjectOptionsGiven values either append to default configuration or overwrite values in it.
Default: - standard configuration applicable for GitHub repositories
getVersionrcOptions in interface ReleaseProjectOptionspublic final String getWorkflowContainerImage()
ReleaseProjectOptionsDefault: - default image
getWorkflowContainerImage in interface ReleaseProjectOptionspublic final List<String> getWorkflowRunsOn()
ReleaseProjectOptionsDefault: ["ubuntu-latest"]
getWorkflowRunsOn in interface ReleaseProjectOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.