Package io.github.cdklabs.projen
Class SampleDirOptions.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.SampleDirOptions.Jsii$Proxy
-
- All Implemented Interfaces:
SampleDirOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- SampleDirOptions
@Stability(Experimental) @Internal public static final class SampleDirOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements SampleDirOptions
An implementation forSampleDirOptions
-
-
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.SampleDirOptions
SampleDirOptions.Builder, SampleDirOptions.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(SampleDirOptions.Builder builder)Constructor that initializes the object based on literal property values passed by theSampleDirOptions.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)Map<String,String>getFiles()(experimental) The files to render into the directory.StringgetSourceDir()(experimental) Absolute path to a directory to copy files from (does not need to be text files).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(SampleDirOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by theSampleDirOptions.Builder.
-
-
Method Detail
-
getFiles
public final Map<String,String> getFiles()
Description copied from interface:SampleDirOptions(experimental) The files to render into the directory.These files get added after any files from
sourceif that option is specified (replacing if names overlap).- Specified by:
getFilesin interfaceSampleDirOptions
-
getSourceDir
public final String getSourceDir()
Description copied from interface:SampleDirOptions(experimental) Absolute path to a directory to copy files from (does not need to be text files).If your project is typescript-based and has configured
testdirto be a subdirectory ofsrc, sample files should outside of thesrcdirectory otherwise they may not be copied. For example:new SampleDir(this, 'public', { source: path.join(__dirname, '..', 'sample-assets') });- Specified by:
getSourceDirin interfaceSampleDirOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-