@Stability(value=Experimental) public static final class ProjenrcOptions.Builder extends Object implements software.amazon.jsii.Builder<ProjenrcOptions>
ProjenrcOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ProjenrcOptions |
build()
Builds the configured instance.
|
ProjenrcOptions.Builder |
className(String className)
Sets the value of
ProjenrcOptions.getClassName() |
ProjenrcOptions.Builder |
projenVersion(String projenVersion)
Sets the value of
ProjenrcOptions.getProjenVersion() |
ProjenrcOptions.Builder |
testScope(Boolean testScope)
Sets the value of
ProjenrcOptions.getTestScope() |
@Stability(value=Experimental) public ProjenrcOptions.Builder className(String className)
ProjenrcOptions.getClassName()className - The name of the Java class which contains the `main()` method for projen.this@Stability(value=Experimental) public ProjenrcOptions.Builder projenVersion(String projenVersion)
ProjenrcOptions.getProjenVersion()projenVersion - The projen version to use.this@Stability(value=Experimental) public ProjenrcOptions.Builder testScope(Boolean testScope)
ProjenrcOptions.getTestScope()testScope - Defines projenrc under the test scope instead of the main scope, which is reserved to the app.
This means that projenrc will be under
src/test/java/projenrc.java and projen will be defined as a test
dependency. This enforces that application code does not take a dependency
on projen code.
If this is disabled, projenrc should be under
src/main/java/projenrc.java.
this@Stability(value=Experimental) public ProjenrcOptions build()
build in interface software.amazon.jsii.Builder<ProjenrcOptions>ProjenrcOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.