Package io.github.cdklabs.projen.github
Class PullRequestFromPatchOptions.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.github.PullRequestFromPatchOptions.Jsii$Proxy
-
- All Implemented Interfaces:
CreatePullRequestOptions,PullRequestFromPatchOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- PullRequestFromPatchOptions
@Stability(Experimental) @Internal public static final class PullRequestFromPatchOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements PullRequestFromPatchOptions
An implementation forPullRequestFromPatchOptions
-
-
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.PullRequestFromPatchOptions
PullRequestFromPatchOptions.Builder, PullRequestFromPatchOptions.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(PullRequestFromPatchOptions.Builder builder)Constructor that initializes the object based on literal property values passed by thePullRequestFromPatchOptions.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)List<String>getAssignees()(experimental) Assignees to add on the PR.StringgetBaseBranch()(experimental) Sets the pull request base branch.StringgetBranchName()(experimental) The pull request branch name.GithubCredentialsgetCredentials()(experimental) The job credentials used to create the pull request.GitIdentitygetGitIdentity()(experimental) The git identity used to create the commit.StringgetJobName()(experimental) The name of the job displayed on GitHub.List<String>getLabels()(experimental) Labels to apply on the PR.PullRequestPatchSourcegetPatch()(experimental) Information about the patch that is used to create the pull request.StringgetPullRequestDescription()(experimental) Description added to the pull request.StringgetPullRequestTitle()(experimental) The full title used to create the pull request.List<String>getRunsOn()(experimental) Github Runner selection labels.GroupRunnerOptionsgetRunsOnGroup()(experimental) Github Runner Group selection options.BooleangetSignoff()(experimental) Add Signed-off-by line by the committer at the end of the commit log message.StringgetStepId()(experimental) The step ID which produces the output which indicates if a patch was created.StringgetStepName()(experimental) The name of the step displayed on GitHub.StringgetWorkflowName()(experimental) The name of the workflow that will create the PR.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(PullRequestFromPatchOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by thePullRequestFromPatchOptions.Builder.
-
-
Method Detail
-
getPatch
public final PullRequestPatchSource getPatch()
Description copied from interface:PullRequestFromPatchOptions(experimental) Information about the patch that is used to create the pull request.- Specified by:
getPatchin interfacePullRequestFromPatchOptions
-
getJobName
public final String getJobName()
Description copied from interface:PullRequestFromPatchOptions(experimental) The name of the job displayed on GitHub.Default: "Create Pull Request"
- Specified by:
getJobNamein interfacePullRequestFromPatchOptions
-
getRunsOn
public final List<String> getRunsOn()
Description copied from interface:PullRequestFromPatchOptions(experimental) Github Runner selection labels.Default: ["ubuntu-latest"]
- Specified by:
getRunsOnin interfacePullRequestFromPatchOptions
-
getRunsOnGroup
public final GroupRunnerOptions getRunsOnGroup()
Description copied from interface:PullRequestFromPatchOptions(experimental) Github Runner Group selection options.- Specified by:
getRunsOnGroupin interfacePullRequestFromPatchOptions
-
getPullRequestDescription
public final String getPullRequestDescription()
Description copied from interface:CreatePullRequestOptions(experimental) Description added to the pull request.Providence information are automatically added.
- Specified by:
getPullRequestDescriptionin interfaceCreatePullRequestOptions
-
getPullRequestTitle
public final String getPullRequestTitle()
Description copied from interface:CreatePullRequestOptions(experimental) The full title used to create the pull request.If PR titles are validated in this repo, the title should comply with the respective rules.
- Specified by:
getPullRequestTitlein interfaceCreatePullRequestOptions
-
getWorkflowName
public final String getWorkflowName()
Description copied from interface:CreatePullRequestOptions(experimental) The name of the workflow that will create the PR.- Specified by:
getWorkflowNamein interfaceCreatePullRequestOptions
-
getAssignees
public final List<String> getAssignees()
Description copied from interface:CreatePullRequestOptions(experimental) Assignees to add on the PR.Default: - no assignees
- Specified by:
getAssigneesin interfaceCreatePullRequestOptions
-
getBaseBranch
public final String getBaseBranch()
Description copied from interface:CreatePullRequestOptions(experimental) Sets the pull request base branch.Default: - The branch checked out in the workflow.
- Specified by:
getBaseBranchin interfaceCreatePullRequestOptions
-
getBranchName
public final String getBranchName()
Description copied from interface:CreatePullRequestOptions(experimental) The pull request branch name.Default: `github-actions/${options.workflowName}`
- Specified by:
getBranchNamein interfaceCreatePullRequestOptions
-
getCredentials
public final GithubCredentials getCredentials()
Description copied from interface:CreatePullRequestOptions(experimental) The job credentials used to create the pull request.Provided credentials must have permissions to create a pull request on the repository.
- Specified by:
getCredentialsin interfaceCreatePullRequestOptions
-
getGitIdentity
public final GitIdentity getGitIdentity()
Description copied from interface:CreatePullRequestOptions(experimental) The git identity used to create the commit.Default: - the default github-actions user
- Specified by:
getGitIdentityin interfaceCreatePullRequestOptions
-
getLabels
public final List<String> getLabels()
Description copied from interface:CreatePullRequestOptions(experimental) Labels to apply on the PR.Default: - no labels.
- Specified by:
getLabelsin interfaceCreatePullRequestOptions
-
getSignoff
public final Boolean getSignoff()
Description copied from interface:CreatePullRequestOptions(experimental) Add Signed-off-by line by the committer at the end of the commit log message.Default: true
- Specified by:
getSignoffin interfaceCreatePullRequestOptions
-
getStepId
public final String getStepId()
Description copied from interface:CreatePullRequestOptions(experimental) The step ID which produces the output which indicates if a patch was created.Default: "create_pr"
- Specified by:
getStepIdin interfaceCreatePullRequestOptions
-
getStepName
public final String getStepName()
Description copied from interface:CreatePullRequestOptions(experimental) The name of the step displayed on GitHub.Default: "Create Pull Request"
- Specified by:
getStepNamein interfaceCreatePullRequestOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-