| Modifier and Type | Method and Description |
|---|---|
Project |
build() |
static Project.Builder |
create() |
Project.Builder |
logging(LoggerOptions logging)
(experimental) Configure logging options such as verbosity.
|
Project.Builder |
name(String name)
(experimental) This is the name of your project.
|
Project.Builder |
outdir(String outdir)
(experimental) The root directory of the project.
|
Project.Builder |
parent(Project parent)
(experimental) The parent project, if this project is part of a bigger project.
|
Project.Builder |
projenCommand(String projenCommand)
(experimental) The shell command to use in order to run the projen CLI.
|
Project.Builder |
projenrcJson(Boolean projenrcJson)
(experimental) Generate (once) .projenrc.json (in JSON).
|
Project.Builder |
projenrcJsonOptions(ProjenrcOptions projenrcJsonOptions)
(experimental) Options for .projenrc.json.
|
@Stability(value=Experimental) public static Project.Builder create()
Project.Builder.@Stability(value=Experimental) public Project.Builder name(String name)
Default: $BASEDIR
name - This is the name of your project. This parameter is required.this@Stability(value=Experimental) public Project.Builder logging(LoggerOptions logging)
Default: {}
logging - Configure logging options such as verbosity. This parameter is required.this@Stability(value=Experimental) public Project.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 Project.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 Project.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 Project.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 Project.Builder projenrcJsonOptions(ProjenrcOptions projenrcJsonOptions)
Default: - default options
projenrcJsonOptions - Options for .projenrc.json. This parameter is required.thisCopyright © 2021. All rights reserved.