Package net.thucydides.core.util
Class PropertiesFileLocalPreferences
java.lang.Object
net.thucydides.core.util.PropertiesFileLocalPreferences
- All Implemented Interfaces:
LocalPreferences
Loads Thucydides preferences from a local file called thucydides.properties.
Thucydides options can be loaded from the thucydides.properties file in the home directory, in the working directory,
or on the classpath. There can be multiple thucydides.properties files, in which case values from the file in the
working directory override values on the classpath, and values in the home directory override values in the working
directory. Values can always be overridden on the command line.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
TYPESAFE_CONFIG_FILE
- See Also:
-
-
Constructor Details
-
PropertiesFileLocalPreferences
-
-
Method Details
-
getHomeDirectory
-
setHomeDirectory
-
loadPreferences
- Specified by:
loadPreferencesin interfaceLocalPreferences- Throws:
IOException
-