Class GeneratedFileWriter.Builder
- java.lang.Object
-
- org.drools.drl.quarkus.util.deployment.GeneratedFileWriter.Builder
-
- Enclosing class:
- GeneratedFileWriter
public static class GeneratedFileWriter.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder(java.lang.String classesDir, java.lang.String sourcesDir, java.lang.String resourcesDir, java.lang.String scaffoldedSourcesDir)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeneratedFileWriterbuild(java.nio.file.Path basePath)
-
-
-
Constructor Detail
-
Builder
public Builder(java.lang.String classesDir, java.lang.String sourcesDir, java.lang.String resourcesDir, java.lang.String scaffoldedSourcesDir)- Parameters:
classesDir- usually target/classes/sourcesDir- usually target/generated-sources/kogito/resourcesDir- usually target/generated-resources/kogito/scaffoldedSourcesDir- usually src/main/java/
-
-
Method Detail
-
build
public GeneratedFileWriter build(java.nio.file.Path basePath)
- Parameters:
basePath- the path to which the given subdirectories will be written e.g. ${basePath}/${classesDir}/myfile.ext
-
-