Package marauroa.common
Class ConfigurationParams
java.lang.Object
marauroa.common.ConfigurationParams
ConfigurationParams encapsulates parameters to be
used to initialize the Configuration class.
- Author:
- Martin Fuchs
-
Constructor Summary
ConstructorDescriptionconfiguration parameterConfigurationParams(boolean relativeToHome, String basedir, String configurationFile)
configuration parameter -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
void
setBasedir(String basedir)
void
setConfigurationFile(String configurationFile)
void
setPersistence(boolean persistence)
void
setRelativeToHome(boolean relativeToHome)
-
Constructor Details
-
ConfigurationParams
public ConfigurationParams()configuration parameter -
ConfigurationParams
configuration parameter- Parameters:
relativeToHome
- is the basedir relative to the home folder?basedir
- base directory for the configuration fileconfigurationFile
- name of configuration file
-
-
Method Details
-
setRelativeToHome
public void setRelativeToHome(boolean relativeToHome) -
isRelativeToHome
public boolean isRelativeToHome() -
setBasedir
-
getBasedir
-
setConfigurationFile
-
getConfigurationFile
-
setPersistence
public void setPersistence(boolean persistence) -
isPersistence
public boolean isPersistence()
-