@Component public class CodeGeneratorImpl extends Object implements CodeGenerator
CodeGenerator that uses a FileWriteCommandTreeFactory to build its FileWriteCommandTree treesFileWriteCommandTreeFactoryBuilder)| Constructor and Description |
|---|
CodeGeneratorImpl() |
| Modifier and Type | Method and Description |
|---|---|
FileWriteCommandTree |
buildConfigurationTree(Project project)
builds the
FileWriteCommandTree tree for configuration files that are going to be written at initialization |
FileWriteCommandTree |
buildFileImportTree(Project project)
builds the
FileWriteCommandTree tree for files that are going to be copied from resources at initialization |
FileWriteCommandTree |
buildFileWriteCommandTree(Project project)
builds the
FileWriteCommandTree tree for files that will be written at each code generation |
void |
generateCode(FileWriteCommandTree tree)
executes all the
FileWriteCommand nodes of a FileWriteCommandTree tree |
public FileWriteCommandTree buildFileImportTree(Project project)
CodeGeneratorFileWriteCommandTree tree for files that are going to be copied from resources at initializationbuildFileImportTree in interface CodeGeneratorpublic FileWriteCommandTree buildConfigurationTree(Project project)
CodeGeneratorFileWriteCommandTree tree for configuration files that are going to be written at initializationbuildConfigurationTree in interface CodeGeneratorpublic FileWriteCommandTree buildFileWriteCommandTree(Project project)
CodeGeneratorFileWriteCommandTree tree for files that will be written at each code generationbuildFileWriteCommandTree in interface CodeGeneratorpublic void generateCode(FileWriteCommandTree tree)
CodeGeneratorFileWriteCommand nodes of a FileWriteCommandTree treegenerateCode in interface CodeGeneratorCopyright © 2014. All rights reserved.