Class ConfigurationLoader
java.lang.Object
com.version1.webdriver.configuration.ConfigurationLoader
Provides a way to load either a default configuration of a configuration from file
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()This method builds the configuration and returns itMethod 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
-