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
    WebDriverConfig build()
    This method builds the configuration and returns it
    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).

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • 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