Package io.github.cdklabs.projen.github
Class GitHubOptions.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.github.GitHubOptions.Jsii$Proxy
-
- All Implemented Interfaces:
GitHubOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- GitHubOptions
@Stability(Experimental) @Internal public static final class GitHubOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements GitHubOptions
An implementation forGitHubOptions
-
-
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.GitHubOptions
GitHubOptions.Builder, GitHubOptions.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(GitHubOptions.Builder builder)Constructor that initializes the object based on literal property values passed by theGitHubOptions.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)BooleangetDownloadLfs()(experimental) Download files in LFS in workflows.BooleangetMergify()(experimental) Whether mergify should be enabled on this repository or not.MergifyOptionsgetMergifyOptions()(experimental) Options for Mergify.GithubCredentialsgetProjenCredentials()(experimental) Choose a method of providing GitHub API access for projen workflows.StringgetProjenTokenSecret()(deprecated) The name of a secret which includes a GitHub Personal Access Token to be used by projen workflows.BooleangetPullRequestLint()(experimental) Add a workflow that performs basic checks for pull requests, like validating that PRs follow Conventional Commits.PullRequestLintOptionsgetPullRequestLintOptions()(experimental) Options for configuring a pull request linter.BooleangetWorkflows()(experimental) Enables GitHub workflows.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(GitHubOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by theGitHubOptions.Builder.
-
-
Method Detail
-
getDownloadLfs
public final Boolean getDownloadLfs()
Description copied from interface:GitHubOptions(experimental) Download files in LFS in workflows.Default: true if the associated project has `lfsPatterns`, `false` otherwise
- Specified by:
getDownloadLfsin interfaceGitHubOptions
-
getMergify
public final Boolean getMergify()
Description copied from interface:GitHubOptions(experimental) Whether mergify should be enabled on this repository or not.Default: true
- Specified by:
getMergifyin interfaceGitHubOptions
-
getMergifyOptions
public final MergifyOptions getMergifyOptions()
Description copied from interface:GitHubOptions(experimental) Options for Mergify.Default: - default options
- Specified by:
getMergifyOptionsin interfaceGitHubOptions
-
getProjenCredentials
public final GithubCredentials getProjenCredentials()
Description copied from interface:GitHubOptions(experimental) Choose a method of providing GitHub API access for projen workflows.Default: - use a personal access token named PROJEN_GITHUB_TOKEN
- Specified by:
getProjenCredentialsin interfaceGitHubOptions
-
getProjenTokenSecret
public final String getProjenTokenSecret()
Description copied from interface:GitHubOptions(deprecated) The name of a secret which includes a GitHub Personal Access Token to be used by projen workflows.This token needs to have the
repo,workflowsandpackagesscope.Default: "PROJEN_GITHUB_TOKEN"
- Specified by:
getProjenTokenSecretin interfaceGitHubOptions
-
getPullRequestLint
public final Boolean getPullRequestLint()
Description copied from interface:GitHubOptions(experimental) Add a workflow that performs basic checks for pull requests, like validating that PRs follow Conventional Commits.Default: true
- Specified by:
getPullRequestLintin interfaceGitHubOptions
-
getPullRequestLintOptions
public final PullRequestLintOptions getPullRequestLintOptions()
Description copied from interface:GitHubOptions(experimental) Options for configuring a pull request linter.Default: - see defaults in `PullRequestLintOptions`
- Specified by:
getPullRequestLintOptionsin interfaceGitHubOptions
-
getWorkflows
public final Boolean getWorkflows()
Description copied from interface:GitHubOptions(experimental) Enables GitHub workflows.If this is set to
false, workflows will not be created.Default: true
- Specified by:
getWorkflowsin interfaceGitHubOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-