@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-20T00:39:28.375Z") @Stability(value=Experimental) public interface CreateProjectOptions extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
CreateProjectOptions.Builder
A builder for
CreateProjectOptions |
static class |
CreateProjectOptions.Jsii$Proxy
An implementation for
CreateProjectOptions |
| Modifier and Type | Method and Description |
|---|---|
static CreateProjectOptions.Builder |
builder() |
String |
getDir()
(experimental) Directory that the project will be generated in.
|
default InitProjectOptionHints |
getOptionHints()
(experimental) Should we render commented-out default options in the projenrc file?
|
default Boolean |
getPost()
(experimental) Should we execute post synthesis hooks?
|
String |
getProjectFqn()
(experimental) Fully-qualified name of the project type (usually formatted as `module.ProjectType`).
|
Map<String,Object> |
getProjectOptions()
(experimental) Project options.
|
default Boolean |
getSynth()
(experimental) Should we call `project.synth()` or instantiate the project (could still have side-effects) and render the .projenrc file.
|
@Stability(value=Experimental) @NotNull String getDir()
@Stability(value=Experimental) @NotNull String getProjectFqn()
Example:
// Example automatically generated from non-compiling source. May contain errors. `projen.TypescriptProject`
@Stability(value=Experimental) @NotNull Map<String,Object> getProjectOptions()
Only JSON-like values can be passed in (strings, booleans, numbers, enums, arrays, and objects that are not derived from classes).
Consult the API reference of the project type you are generating for information about what fields and types are available.
@Stability(value=Experimental) @Nullable default InitProjectOptionHints getOptionHints()
Does not apply to projenrc.json files.
Default: InitProjectOptionHints.FEATURED
@Stability(value=Experimental) @Nullable default Boolean getPost()
(usually package manager install).
Default: true
@Stability(value=Experimental) @Nullable default Boolean getSynth()
Default: true
@Stability(value=Experimental) static CreateProjectOptions.Builder builder()
CreateProjectOptions.Builder of CreateProjectOptionsCopyright © 2021. All rights reserved.