Package io.github.cdklabs.projen
Class SampleDir
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.constructs.Construct
-
- io.github.cdklabs.projen.Component
-
- io.github.cdklabs.projen.SampleDir
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:42.799Z") @Stability(Experimental) public class SampleDir extends Component
(experimental) Renders the given files into the directory if the directory does not exist.Use this to create sample code files
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSampleDir.Builder(experimental) A fluent builder forSampleDir.
-
Constructor Summary
Constructors Modifier Constructor Description SampleDir(Project project, String dir, SampleDirOptions options)(experimental) Create sample files in the given directory if the given directory does not exist.protectedSampleDir(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedSampleDir(software.amazon.jsii.JsiiObjectRef objRef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsynthesize()(experimental) Synthesizes files to the project output directory.-
Methods inherited from class io.github.cdklabs.projen.Component
getProject, isComponent, postSynthesize, preSynthesize
-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Constructor Detail
-
SampleDir
protected SampleDir(software.amazon.jsii.JsiiObjectRef objRef)
-
SampleDir
protected SampleDir(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
SampleDir
@Stability(Experimental) public SampleDir(@NotNull Project project, @NotNull String dir, @NotNull SampleDirOptions options)(experimental) Create sample files in the given directory if the given directory does not exist.- Parameters:
project- Parent project to add files to. This parameter is required.dir- directory to add files to. This parameter is required.options- options for which files to create. This parameter is required.
-
-
Method Detail
-
synthesize
@Stability(Experimental) public void synthesize()
(experimental) Synthesizes files to the project output directory.- Overrides:
synthesizein classComponent
-
-