Class ConfigurationLoader
java.lang.Object
uk.co.evoco.webdriver.configuration.ConfigurationLoader
public class ConfigurationLoader
extends java.lang.Object
Provides a way to load either a default configuration of a configuration from file
-
Constructor Summary
Constructors Constructor Description ConfigurationLoader() -
Method Summary
Modifier and Type Method Description WebDriverConfigbuild()This method builds the configuration and returns itConfigurationLoaderdecideWhichConfigurationToUse()Method for figuring out if we're using the internal, default configuration, or we're setting a reference to an external configuration file (from the file system).
-
Constructor Details
-
ConfigurationLoader
public ConfigurationLoader()
-
-
Method Details
-
decideWhichConfigurationToUse
Method for figuring out if we're using the internal, default configuration, or we're setting a reference to an external configuration file (from the file system).- Returns:
- ConfigurationLoader builder pattern so returns self
-
build
This method builds the configuration and returns it- Returns:
- WebDriverConfig the loaded WebDriverConfig
-