public abstract class GeneratorModel<T extends IGeneratorDefinition,K extends Imports<T>> extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_TARGET_DIR |
protected T |
definition |
protected K |
imports |
| Constructor and Description |
|---|
GeneratorModel() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterChildHandling() |
protected void |
beforeChildHandling() |
abstract Map<String,String> |
generateClazzWithTemplates() |
protected org.apache.maven.plugin.logging.Log |
getLogger() |
String |
getTargetFolder()
Override if needed
|
protected abstract void |
handleChild(Object child) |
void |
init(T ivoDefinition,
K imports,
org.apache.maven.plugin.logging.Log logger) |
public static final String DEFAULT_TARGET_DIR
protected T extends IGeneratorDefinition definition
public abstract Map<String,String> generateClazzWithTemplates()
protected abstract void handleChild(Object child)
public String getTargetFolder()
public void init(T ivoDefinition, K imports, org.apache.maven.plugin.logging.Log logger)
ivoDefinition - ivoDefinotionimports - the importslogger - the logger to useprotected void beforeChildHandling()
protected void afterChildHandling()
protected org.apache.maven.plugin.logging.Log getLogger()
Copyright © 2016–2019 Taimos GmbH. All rights reserved.