@Stability(value=Experimental) @Internal public static final class SampleDirOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements SampleDirOptions
SampleDirOptionssoftware.amazon.jsii.JsiiObject.InitializationModeSampleDirOptions.Builder, SampleDirOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(SampleDirOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by the
SampleDirOptions.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Map<String,String> |
getFiles()
(experimental) The files to render into the directory.
|
String |
getSourceDir()
(experimental) Absolute path to a directory to copy files from (does not need to be text files).
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(SampleDirOptions.Builder builder)
SampleDirOptions.Builder.public final Map<String,String> getFiles()
SampleDirOptions
These files get added after
any files from source if that option is specified (replacing if names
overlap).
getFiles in interface SampleDirOptionspublic final String getSourceDir()
SampleDirOptions
If your project is typescript-based and has configured testdir to be a
subdirectory of src, sample files should outside of the src directory
otherwise they may not be copied. For example:
new SampleDir(this, 'public', { source: path.join(__dirname, '..', 'sample-assets') });
getSourceDir in interface SampleDirOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.