Package de.spraener.nxtgen.incubator
Class BlueprintCompiler
java.lang.Object
de.spraener.nxtgen.incubator.BlueprintCompiler
A BlueprintCompiler copies a whole subtree from the resource classpath to the given output path. Each file is processed by mustache with the scope defined in the BlueprintCompiler.
A sub path in the blueprint can hold variable references them self. For example a path like "{{appname}}/Dockerfile" will be translated to "myapp/Dockerfile" if the value of 'appname' is 'myapp' in the current scope.
-
Constructor Summary
ConstructorsConstructorDescriptionBlueprintCompiler(String resourceRoot) Initiates the Blueprint-Compiler with the resources under the given resourceRoot-Path.BlueprintCompiler(String name, List<String> fileList, BlueprintSupplier blueprintSupplier) -
Method Summary
-
Constructor Details
-
BlueprintCompiler
Initiates the Blueprint-Compiler with the resources under the given resourceRoot-Path.- Parameters:
resourceRoot-
-
BlueprintCompiler
-
-
Method Details
-
getScope
-
evaluateTo
-
getName
-
getRequiredValues
-