Class ConfigurationManager
java.lang.Object
com.denodo.scheduler.client.configuration.ConfigurationManager
By default a properties file named "scheduler.properties" is loaded from the
classpath. If the user wish to use a file other than this default he must
define the system property 'scheduler.conf' to point to the file
he wants.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetParameter(String name) Provides a configuration value as a String.
-
Method Details
-
getParameter
Provides a configuration value as a String. The method will throw anIllegalArgumentExceptionif an error occurs while retrieveing the property or if the property does not exist.- Parameters:
name- the name of the parameter to retrieve.- Returns:
- the parameter value as a String.
- Throws:
IllegalArgumentException- if an error occurs retrieving the property or the property does not exist.
-