Package de.spraener.nxtgen.incubator
Class BlueprintCodeBlock
java.lang.Object
de.spraener.nxtgen.CodeBlockImpl
de.spraener.nxtgen.incubator.BlueprintCodeBlock
- All Implemented Interfaces:
CodeBlock
-
Constructor Summary
ConstructorsConstructorDescriptionBlueprintCodeBlock(BlueprintCompiler blueprintCompiler, String outputDir) Create a new CodeBlock with the given name. -
Method Summary
Modifier and TypeMethodDescriptionvoidwriteOutput(String workingDir) Do the output wrtiing into the given working directory.Methods inherited from class de.spraener.nxtgen.CodeBlockImpl
addCodeBlock, checkProtected, getName, getToFileStrategy, println, setToFileStrategy, toCode
-
Constructor Details
-
BlueprintCodeBlock
Create a new CodeBlock with the given name.- Parameters:
blueprintCompiler- a BlueprintCompiler to run on evaluation.
-
-
Method Details
-
writeOutput
Description copied from class:CodeBlockImplDo the output wrtiing into the given working directory. The output file is determined with an changeable ToFileStrategy.- Specified by:
writeOutputin interfaceCodeBlock- Overrides:
writeOutputin classCodeBlockImpl- Parameters:
workingDir- the full qualified path to the working directory.- See Also:
-