Class SampleDirOptions.Jsii$Proxy

    • 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.
    • 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 source if that option is specified (replacing if names overlap).

        Specified by:
        getFiles in interface SampleDirOptions
      • 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 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') });
         
        Specified by:
        getSourceDir in interface SampleDirOptions
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object