Package io.github.cdklabs.projen
Class CreateProjectOptions.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.CreateProjectOptions.Jsii$Proxy
-
- All Implemented Interfaces:
CreateProjectOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CreateProjectOptions
@Stability(Experimental) @Internal public static final class CreateProjectOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CreateProjectOptions
An implementation forCreateProjectOptions
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface io.github.cdklabs.projen.CreateProjectOptions
CreateProjectOptions.Builder, CreateProjectOptions.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(CreateProjectOptions.Builder builder)Constructor that initializes the object based on literal property values passed by theCreateProjectOptions.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)StringgetDir()(experimental) Directory that the project will be generated in.InitProjectOptionHintsgetOptionHints()(experimental) Should we render commented-out default options in the projenrc file?BooleangetPost()(experimental) Should we execute post synthesis hooks?StringgetProjectFqn()(experimental) Fully-qualified name of the project type (usually formatted asprojen.module.ProjectType).Map<String,Object>getProjectOptions()(experimental) Project options.BooleangetSynth()(experimental) Should we callproject.synth()or instantiate the project (could still have side-effects) and render the .projenrc file.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(CreateProjectOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by theCreateProjectOptions.Builder.
-
-
Method Detail
-
getDir
public final String getDir()
Description copied from interface:CreateProjectOptions(experimental) Directory that the project will be generated in.- Specified by:
getDirin interfaceCreateProjectOptions
-
getProjectFqn
public final String getProjectFqn()
Description copied from interface:CreateProjectOptions(experimental) Fully-qualified name of the project type (usually formatted asprojen.module.ProjectType).Example:
`projen.typescript.TypescriptProject`
- Specified by:
getProjectFqnin interfaceCreateProjectOptions
-
getProjectOptions
public final Map<String,Object> getProjectOptions()
Description copied from interface:CreateProjectOptions(experimental) Project options.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.
- Specified by:
getProjectOptionsin interfaceCreateProjectOptions
-
getOptionHints
public final InitProjectOptionHints getOptionHints()
Description copied from interface:CreateProjectOptions(experimental) Should we render commented-out default options in the projenrc file?Does not apply to projenrc.json files.
Default: InitProjectOptionHints.FEATURED
- Specified by:
getOptionHintsin interfaceCreateProjectOptions
-
getPost
public final Boolean getPost()
Description copied from interface:CreateProjectOptions(experimental) Should we execute post synthesis hooks?(usually package manager install).
Default: true
- Specified by:
getPostin interfaceCreateProjectOptions
-
getSynth
public final Boolean getSynth()
Description copied from interface:CreateProjectOptions(experimental) Should we callproject.synth()or instantiate the project (could still have side-effects) and render the .projenrc file.Default: true
- Specified by:
getSynthin interfaceCreateProjectOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-