Package io.github.cdklabs.projen.java
Interface ProjenrcOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ProjenrcOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:43.147Z") @Stability(Experimental) public interface ProjenrcOptions extends software.amazon.jsii.JsiiSerializable
(experimental) Options forProjenrc.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classProjenrcOptions.BuilderA builder forProjenrcOptionsstatic classProjenrcOptions.Jsii$ProxyAn implementation forProjenrcOptions
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ProjenrcOptions.Builderbuilder()default StringgetClassName()(experimental) The name of the Java class which contains themain()method for projen.default StringgetProjenVersion()(experimental) The projen version to use.default BooleangetTestScope()(experimental) Defines projenrc under the test scope instead of the main scope, which is reserved to the app.
-
-
-
Method Detail
-
getClassName
@Stability(Experimental) @Nullable default String getClassName()
(experimental) The name of the Java class which contains themain()method for projen.Default: "projenrc"
-
getProjenVersion
@Stability(Experimental) @Nullable default String getProjenVersion()
(experimental) The projen version to use.Default: - current version
-
getTestScope
@Stability(Experimental) @Nullable default Boolean getTestScope()
(experimental) 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.javaand 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.Default: true
-
builder
@Stability(Experimental) static ProjenrcOptions.Builder builder()
- Returns:
- a
ProjenrcOptions.BuilderofProjenrcOptions
-
-