@Stability(value=Experimental) @Internal public static final class GitHubProjectOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements GitHubProjectOptions
GitHubProjectOptionssoftware.amazon.jsii.JsiiObject.InitializationModeGitHubProjectOptions.Builder, GitHubProjectOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(GitHubProjectOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by the
GitHubProjectOptions.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
AutoApproveOptions |
getAutoApproveOptions()
(experimental) Enable and configure the 'auto approve' workflow.
|
AutoMergeOptions |
getAutoMergeOptions()
(experimental) Configure options for automatic merging on GitHub.
|
Boolean |
getClobber()
(experimental) Add a `clobber` task which resets the repo to origin.
|
Boolean |
getDevContainer()
(experimental) Add a VSCode development environment (used for GitHub Codespaces).
|
Boolean |
getGithub()
(experimental) Enable GitHub integration.
|
GitHubOptions |
getGithubOptions()
(experimental) Options for GitHub integration.
|
Boolean |
getGitpod()
(experimental) Add a Gitpod development environment.
|
LoggerOptions |
getLogging()
(experimental) Configure logging options such as verbosity.
|
Boolean |
getMergify()
(deprecated) Whether mergify should be enabled on this repository or not.
|
MergifyOptions |
getMergifyOptions()
(deprecated) Options for mergify.
|
String |
getName()
(experimental) This is the name of your project.
|
String |
getOutdir()
(experimental) The root directory of the project.
|
Project |
getParent()
(experimental) The parent project, if this project is part of a bigger project.
|
ProjectType |
getProjectType()
(deprecated) Which type of project this is (library/app).
|
String |
getProjenCommand()
(experimental) The shell command to use in order to run the projen CLI.
|
Boolean |
getProjenrcJson()
(experimental) Generate (once) .projenrc.json (in JSON).
|
ProjenrcOptions |
getProjenrcJsonOptions()
(experimental) Options for .projenrc.json.
|
SampleReadmeProps |
getReadme()
(experimental) The README setup.
|
Boolean |
getStale()
(experimental) Auto-close of stale issues and pull request.
|
StaleOptions |
getStaleOptions()
(experimental) Auto-close stale issues and pull requests.
|
Boolean |
getVscode()
(experimental) Enable VSCode integration.
|
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(GitHubProjectOptions.Builder builder)
GitHubProjectOptions.Builder.public final AutoApproveOptions getAutoApproveOptions()
GitHubProjectOptionsDefault: - auto approve is disabled
getAutoApproveOptions in interface GitHubProjectOptionspublic final AutoMergeOptions getAutoMergeOptions()
GitHubProjectOptions
Has no effect if
github.mergify is set to false.
Default: - see defaults in `AutoMergeOptions`
getAutoMergeOptions in interface GitHubProjectOptionspublic final Boolean getClobber()
GitHubProjectOptionsDefault: true
getClobber in interface GitHubProjectOptionspublic final Boolean getDevContainer()
GitHubProjectOptionsDefault: false
getDevContainer in interface GitHubProjectOptionspublic final Boolean getGithub()
GitHubProjectOptionsEnabled by default for root projects. Disabled for non-root projects.
Default: true
getGithub in interface GitHubProjectOptionspublic final GitHubOptions getGithubOptions()
GitHubProjectOptionsDefault: - see GitHubOptions
getGithubOptions in interface GitHubProjectOptionspublic final Boolean getGitpod()
GitHubProjectOptionsDefault: false
getGitpod in interface GitHubProjectOptionspublic final Boolean getMergify()
GitHubProjectOptionsDefault: true
getMergify in interface GitHubProjectOptionspublic final MergifyOptions getMergifyOptions()
GitHubProjectOptionsDefault: - default options
getMergifyOptions in interface GitHubProjectOptionspublic final ProjectType getProjectType()
GitHubProjectOptionsDefault: ProjectType.UNKNOWN
getProjectType in interface GitHubProjectOptionspublic final SampleReadmeProps getReadme()
GitHubProjectOptionsDefault: - { filename: 'README.md', contents: '# replace this' }
Example:
// Example automatically generated from non-compiling source. May contain errors.
"{ filename: 'readme.md', contents: '# title' }"
getReadme in interface GitHubProjectOptionspublic final Boolean getStale()
GitHubProjectOptions
See staleOptions for options.
Default: true
getStale in interface GitHubProjectOptionspublic final StaleOptions getStaleOptions()
GitHubProjectOptions
To disable set stale to false.
Default: - see defaults in `StaleOptions`
getStaleOptions in interface GitHubProjectOptionspublic final Boolean getVscode()
GitHubProjectOptionsEnabled by default for root projects. Disabled for non-root projects.
Default: true
getVscode in interface GitHubProjectOptionspublic final String getName()
ProjectOptionsDefault: $BASEDIR
getName in interface ProjectOptionspublic final LoggerOptions getLogging()
ProjectOptionsDefault: {}
getLogging in interface ProjectOptionspublic final String getOutdir()
ProjectOptionsRelative to this directory, all files are synthesized.
If this project has a parent, this directory is relative to the parent directory and it cannot be the same as the parent or any of it's other sub-projects.
Default: "."
getOutdir in interface ProjectOptionspublic final Project getParent()
ProjectOptionsgetParent in interface ProjectOptionspublic final String getProjenCommand()
ProjectOptionsCan be used to customize in special environments.
Default: "npx projen"
getProjenCommand in interface ProjectOptionspublic final Boolean getProjenrcJson()
ProjectOptionsDefault: false
getProjenrcJson in interface ProjectOptionspublic final ProjenrcOptions getProjenrcJsonOptions()
ProjectOptionsDefault: - default options
getProjenrcJsonOptions in interface ProjectOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.