com.agimatec.commons.generator
Class GeneratorSettings
java.lang.Object
com.agimatec.commons.generator.GeneratorSettings
- Direct Known Subclasses:
- CatalogGeneratorSettings, ScriptTransformatorSettings
public abstract class GeneratorSettings
- extends Object
Description: abstract superclass for a settings class of tools
that invoke freemarker templates for a catalog description.
User: roman.stumm
Date: 05.06.2007
Time: 15:34:51
Copyright: Agimatec GmbH
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
configFile
protected String configFile
templateDir
protected String templateDir
destDir
protected String destDir
dbms
protected String dbms
templates
protected List<String> templates
catalog
protected CatalogDescription catalog
noOutputFile
protected boolean noOutputFile
GeneratorSettings
public GeneratorSettings()
defaultConfigFileName
protected abstract String defaultConfigFileName()
parseArgs
public boolean parseArgs(String[] args)
throws IOException,
ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
getProperties
public Map<String,String> getProperties()
isNoOutputFile
public boolean isNoOutputFile()
checkValid
protected void checkValid()
loadCatalog
protected void loadCatalog(String catalogFile)
throws IOException,
ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
printUsage
protected void printUsage()
getConfigFile
public String getConfigFile()
getTemplateDir
public String getTemplateDir()
getDestDir
public String getDestDir()
getDbms
public String getDbms()
getTemplates
public List<String> getTemplates()
getCatalog
public CatalogDescription getCatalog()
setConfigFile
public void setConfigFile(String configFile)
setTemplateDir
public void setTemplateDir(String templateDir)
setDestDir
public void setDestDir(String destDir)
setDbms
public void setDbms(String dbms)
setCatalog
public void setCatalog(CatalogDescription catalog)
Copyright © 2008-2012. All Rights Reserved.