Class ConfigurationLoader
- java.lang.Object
-
- uk.co.evoco.webdriver.configuration.ConfigurationLoader
-
public class ConfigurationLoader extends 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).
-
-
-
Method Detail
-
decideWhichConfigurationToUse
public ConfigurationLoader 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
public WebDriverConfig build()
This method builds the configuration and returns it- Returns:
- WebDriverConfig the loaded WebDriverConfig
-
-