Package pl.metaprogramming.codegen
Class CodeGenerationTask
-
- All Implemented Interfaces:
public final class CodeGenerationTask<T extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description private List<CodeDecorator>codeDecoratorsprivate Stringmd5private final Stringcontentprivate final StringdestFilePathprivate final TcodeModelprivate final CodeFormatter<T>formatter
-
Constructor Summary
Constructors Constructor Description CodeGenerationTask(String destFilePath, T codeModel, CodeFormatter<T> formatter)
-
Method Summary
Modifier and Type Method Description final List<CodeDecorator>getCodeDecorators()final UnitsetCodeDecorators(List<CodeDecorator> codeDecorators)final StringgetMd5()final UnitsetMd5(String md5)final StringgetContent()final StringgetDestFilePath()final TgetCodeModel()final CodeFormatter<T>getFormatter()-
-
Constructor Detail
-
CodeGenerationTask
CodeGenerationTask(String destFilePath, T codeModel, CodeFormatter<T> formatter)
-
-
Method Detail
-
getCodeDecorators
final List<CodeDecorator> getCodeDecorators()
-
setCodeDecorators
final Unit setCodeDecorators(List<CodeDecorator> codeDecorators)
-
getContent
final String getContent()
-
getDestFilePath
final String getDestFilePath()
-
getCodeModel
final T getCodeModel()
-
getFormatter
final CodeFormatter<T> getFormatter()
-
-
-
-