public class GeneratorHelper extends Object
| Constructor and Description |
|---|
GeneratorHelper() |
| Modifier and Type | Method and Description |
|---|---|
static Properties |
getVelocityDefaultProps() |
static <T extends IGeneratorDefinition> |
parseXML(Class<T> clazz,
org.apache.maven.plugin.logging.Log log,
File f) |
static void |
writeFile(org.apache.maven.plugin.logging.Log log,
GeneratorModel<?,?> model,
String targetDir) |
public static void writeFile(org.apache.maven.plugin.logging.Log log,
GeneratorModel<?,?> model,
String targetDir)
throws org.apache.maven.plugin.MojoExecutionException
log - the loggermodel - the generator modeltargetDir - the target path for generationorg.apache.maven.plugin.MojoExecutionException - on errorspublic static Properties getVelocityDefaultProps()
public static <T extends IGeneratorDefinition> T parseXML(Class<T> clazz, org.apache.maven.plugin.logging.Log log, File f) throws org.apache.maven.plugin.MojoExecutionException
T - the generator definitionclazz - the generator definiton clazzlog - the loggerf - the file to parseorg.apache.maven.plugin.MojoExecutionException - on errorCopyright © 2016–2019 Taimos GmbH. All rights reserved.