public final class Settings extends Object
| Constructor and Description |
|---|
Settings()
Initialize the settings with the internal default values then with the
system properties values.
|
Settings(String propertiesFile)
Initialize the settings with the internal default values then with the
system properties values and finally with the properties file pointed by
propertiesFile. |
Settings(String[] args)
Helper constructor to manage the command line arguments.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getJarFiles() |
String |
getMappingsFile() |
int |
getNbThread() |
String |
getTargetPath() |
String |
getTemplatesFile() |
boolean |
isClean() |
boolean |
isUseHash() |
void |
setClean(boolean clean) |
void |
setJarFiles(String jarFiles) |
void |
setMappingsFile(String mappingsFile) |
void |
setNbThread(int nbThread) |
void |
setTargetPath(String targetPath) |
void |
setTemplatesFile(String templatesFile) |
void |
setUseHash(boolean useHash) |
public Settings()
public Settings(String propertiesFile)
propertiesFile.propertiesFile - path to a properties file.public Settings(String[] args)
args[0] if
present.args - the command line arguments.public String getTargetPath()
public void setTargetPath(String targetPath)
targetPath - the targetPath to setpublic String getJarFiles()
public void setJarFiles(String jarFiles)
jarFiles - the jarFiles to setpublic String getMappingsFile()
public void setMappingsFile(String mappingsFile)
mappingsFile - the mappingsFile to setpublic String getTemplatesFile()
public void setTemplatesFile(String templatesFile)
templatesFile - the templatesFile to setpublic boolean isClean()
public void setClean(boolean clean)
clean - the clean to setpublic boolean isUseHash()
public void setUseHash(boolean useHash)
useHash - the useHash to setpublic int getNbThread()
public void setNbThread(int nbThread)
nbThread - the nbThread to setCopyright © 2013. All Rights Reserved.