Package io.github.cdklabs.projen.github
Class PullRequestBackportOptions.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.github.PullRequestBackportOptions.Jsii$Proxy
-
- All Implemented Interfaces:
PullRequestBackportOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- PullRequestBackportOptions
@Stability(Experimental) @Internal public static final class PullRequestBackportOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements PullRequestBackportOptions
An implementation forPullRequestBackportOptions
-
-
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.github.PullRequestBackportOptions
PullRequestBackportOptions.Builder, PullRequestBackportOptions.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(PullRequestBackportOptions.Builder builder)Constructor that initializes the object based on literal property values passed by thePullRequestBackportOptions.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)BooleangetAutoApproveBackport()(experimental) Automatically approve backport PRs if the 'auto approve' workflow is available.StringgetBackportBranchNamePrefix()(experimental) The prefix used to name backport branches.List<String>getBackportPRLabels()(experimental) The labels added to the created backport PR.List<String>getBranches()(experimental) List of branches that can be a target for backports.BooleangetCreateWithConflicts()(experimental) Should this created Backport PRs with conflicts.StringgetLabelPrefix()(experimental) The prefix used to detect PRs that should be backported.StringgetWorkflowName()(experimental) The name of the 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(PullRequestBackportOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by thePullRequestBackportOptions.Builder.
-
-
Method Detail
-
getAutoApproveBackport
public final Boolean getAutoApproveBackport()
Description copied from interface:PullRequestBackportOptions(experimental) Automatically approve backport PRs if the 'auto approve' workflow is available.Default: true
- Specified by:
getAutoApproveBackportin interfacePullRequestBackportOptions
-
getBackportBranchNamePrefix
public final String getBackportBranchNamePrefix()
Description copied from interface:PullRequestBackportOptions(experimental) The prefix used to name backport branches.Make sure to include a separator at the end like
/or_.Default: "backport/"
- Specified by:
getBackportBranchNamePrefixin interfacePullRequestBackportOptions
-
getBackportPRLabels
public final List<String> getBackportPRLabels()
Description copied from interface:PullRequestBackportOptions(experimental) The labels added to the created backport PR.Default: ["backport"]
- Specified by:
getBackportPRLabelsin interfacePullRequestBackportOptions
-
getBranches
public final List<String> getBranches()
Description copied from interface:PullRequestBackportOptions(experimental) List of branches that can be a target for backports.Default: - allow backports to all release branches
- Specified by:
getBranchesin interfacePullRequestBackportOptions
-
getCreateWithConflicts
public final Boolean getCreateWithConflicts()
Description copied from interface:PullRequestBackportOptions(experimental) Should this created Backport PRs with conflicts.Conflicts will have to be resolved manually, but a PR is always created. Set to
falseto prevent the backport PR from being created if there are conflicts.Default: true
- Specified by:
getCreateWithConflictsin interfacePullRequestBackportOptions
-
getLabelPrefix
public final String getLabelPrefix()
Description copied from interface:PullRequestBackportOptions(experimental) The prefix used to detect PRs that should be backported.Default: "backport-to-"
- Specified by:
getLabelPrefixin interfacePullRequestBackportOptions
-
getWorkflowName
public final String getWorkflowName()
Description copied from interface:PullRequestBackportOptions(experimental) The name of the workflow.Default: "backport"
- Specified by:
getWorkflowNamein interfacePullRequestBackportOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-