@Stability(value=Deprecated) @Deprecated public static final class GitHubProject.Builder extends Object implements software.amazon.jsii.Builder<GitHubProject>
GitHubProject.| Modifier and Type | Method and Description |
|---|---|
GitHubProject.Builder |
autoApproveOptions(AutoApproveOptions autoApproveOptions)
Deprecated.
(experimental) Enable and configure the 'auto approve' workflow.
|
GitHubProject.Builder |
autoMergeOptions(AutoMergeOptions autoMergeOptions)
Deprecated.
(experimental) Configure options for automatic merging on GitHub.
|
GitHubProject |
build()
Deprecated.
|
GitHubProject.Builder |
clobber(Boolean clobber)
Deprecated.
(experimental) Add a `clobber` task which resets the repo to origin.
|
static GitHubProject.Builder |
create()
Deprecated.
|
GitHubProject.Builder |
devContainer(Boolean devContainer)
Deprecated.
(experimental) Add a VSCode development environment (used for GitHub Codespaces).
|
GitHubProject.Builder |
github(Boolean github)
Deprecated.
(experimental) Enable GitHub integration.
|
GitHubProject.Builder |
githubOptions(GitHubOptions githubOptions)
Deprecated.
(experimental) Options for GitHub integration.
|
GitHubProject.Builder |
gitpod(Boolean gitpod)
Deprecated.
(experimental) Add a Gitpod development environment.
|
GitHubProject.Builder |
logging(LoggerOptions logging)
Deprecated.
(experimental) Configure logging options such as verbosity.
|
GitHubProject.Builder |
mergify(Boolean mergify)
Deprecated.
use `githubOptions.mergify` instead
|
GitHubProject.Builder |
mergifyOptions(MergifyOptions mergifyOptions)
Deprecated.
use `githubOptions.mergifyOptions` instead
|
GitHubProject.Builder |
name(String name)
Deprecated.
(experimental) This is the name of your project.
|
GitHubProject.Builder |
outdir(String outdir)
Deprecated.
(experimental) The root directory of the project.
|
GitHubProject.Builder |
parent(Project parent)
Deprecated.
(experimental) The parent project, if this project is part of a bigger project.
|
GitHubProject.Builder |
projectType(ProjectType projectType)
Deprecated.
no longer supported at the base project level
|
GitHubProject.Builder |
projenCommand(String projenCommand)
Deprecated.
(experimental) The shell command to use in order to run the projen CLI.
|
GitHubProject.Builder |
projenrcJson(Boolean projenrcJson)
Deprecated.
(experimental) Generate (once) .projenrc.json (in JSON).
|
GitHubProject.Builder |
projenrcJsonOptions(ProjenrcOptions projenrcJsonOptions)
Deprecated.
(experimental) Options for .projenrc.json.
|
GitHubProject.Builder |
readme(SampleReadmeProps readme)
Deprecated.
(experimental) The README setup.
|
GitHubProject.Builder |
stale(Boolean stale)
Deprecated.
(experimental) Auto-close of stale issues and pull request.
|
GitHubProject.Builder |
staleOptions(StaleOptions staleOptions)
Deprecated.
(experimental) Auto-close stale issues and pull requests.
|
GitHubProject.Builder |
vscode(Boolean vscode)
Deprecated.
(experimental) Enable VSCode integration.
|
@Stability(value=Deprecated) @Deprecated public static GitHubProject.Builder create()
GitHubProject.Builder.@Stability(value=Experimental) public GitHubProject.Builder name(String name)
Default: $BASEDIR
name - This is the name of your project. This parameter is required.this@Stability(value=Experimental) public GitHubProject.Builder logging(LoggerOptions logging)
Default: {}
logging - Configure logging options such as verbosity. This parameter is required.this@Stability(value=Experimental) public GitHubProject.Builder outdir(String outdir)
Relative 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: "."
outdir - The root directory of the project. This parameter is required.this@Stability(value=Experimental) public GitHubProject.Builder parent(Project parent)
parent - The parent project, if this project is part of a bigger project. This parameter is required.this@Stability(value=Experimental) public GitHubProject.Builder projenCommand(String projenCommand)
Can be used to customize in special environments.
Default: "npx projen"
projenCommand - The shell command to use in order to run the projen CLI. This parameter is required.this@Stability(value=Experimental) public GitHubProject.Builder projenrcJson(Boolean projenrcJson)
Default: false
projenrcJson - Generate (once) .projenrc.json (in JSON). Set to `false` in order to disable .projenrc.json generation. This parameter is required.this@Stability(value=Experimental) public GitHubProject.Builder projenrcJsonOptions(ProjenrcOptions projenrcJsonOptions)
Default: - default options
projenrcJsonOptions - Options for .projenrc.json. This parameter is required.this@Stability(value=Experimental) public GitHubProject.Builder autoApproveOptions(AutoApproveOptions autoApproveOptions)
Default: - auto approve is disabled
autoApproveOptions - Enable and configure the 'auto approve' workflow. This parameter is required.this@Stability(value=Experimental) public GitHubProject.Builder autoMergeOptions(AutoMergeOptions autoMergeOptions)
Has no effect if
github.mergify is set to false.
Default: - see defaults in `AutoMergeOptions`
autoMergeOptions - Configure options for automatic merging on GitHub. This parameter is required.this@Stability(value=Experimental) public GitHubProject.Builder clobber(Boolean clobber)
Default: true
clobber - Add a `clobber` task which resets the repo to origin. This parameter is required.this@Stability(value=Experimental) public GitHubProject.Builder devContainer(Boolean devContainer)
Default: false
devContainer - Add a VSCode development environment (used for GitHub Codespaces). This parameter is required.this@Stability(value=Experimental) public GitHubProject.Builder github(Boolean github)
Enabled by default for root projects. Disabled for non-root projects.
Default: true
github - Enable GitHub integration. This parameter is required.this@Stability(value=Experimental) public GitHubProject.Builder githubOptions(GitHubOptions githubOptions)
Default: - see GitHubOptions
githubOptions - Options for GitHub integration. This parameter is required.this@Stability(value=Experimental) public GitHubProject.Builder gitpod(Boolean gitpod)
Default: false
gitpod - Add a Gitpod development environment. This parameter is required.this@Stability(value=Deprecated) @Deprecated public GitHubProject.Builder mergify(Boolean mergify)
Default: true
mergify - Whether mergify should be enabled on this repository or not. This parameter is required.this@Stability(value=Deprecated) @Deprecated public GitHubProject.Builder mergifyOptions(MergifyOptions mergifyOptions)
Default: - default options
mergifyOptions - Options for mergify. This parameter is required.this@Stability(value=Deprecated) @Deprecated public GitHubProject.Builder projectType(ProjectType projectType)
Default: ProjectType.UNKNOWN
projectType - Which type of project this is (library/app). This parameter is required.this@Stability(value=Experimental) public GitHubProject.Builder readme(SampleReadmeProps readme)
Default: - { filename: 'README.md', contents: '# replace this' }
Example:
// Example automatically generated from non-compiling source. May contain errors.
"{ filename: 'readme.md', contents: '# title' }"
readme - The README setup. This parameter is required.this@Stability(value=Experimental) public GitHubProject.Builder stale(Boolean stale)
See staleOptions for options.
Default: true
stale - Auto-close of stale issues and pull request. This parameter is required.this@Stability(value=Experimental) public GitHubProject.Builder staleOptions(StaleOptions staleOptions)
To disable set stale to false.
Default: - see defaults in `StaleOptions`
staleOptions - Auto-close stale issues and pull requests. This parameter is required.this@Stability(value=Experimental) public GitHubProject.Builder vscode(Boolean vscode)
Enabled by default for root projects. Disabled for non-root projects.
Default: true
vscode - Enable VSCode integration. This parameter is required.this@Stability(value=Deprecated) @Deprecated public GitHubProject build()
build in interface software.amazon.jsii.Builder<GitHubProject>Copyright © 2021. All rights reserved.