Class DefaultConfigurationFactory

java.lang.Object
io.fluentlenium.configuration.DefaultConfigurationFactory
All Implemented Interfaces:
ConfigurationFactory

public class DefaultConfigurationFactory extends Object implements ConfigurationFactory
Creates new configuration from a container class.
  • Constructor Details

    • DefaultConfigurationFactory

      public DefaultConfigurationFactory()
  • Method Details

    • getPropertiesInputStream

      protected InputStream getPropertiesInputStream()
      Get inputstream containing fluentlenium properties.
      Returns:
      propertiers input stream
    • newConfiguration

      public Configuration newConfiguration (Class<?> containerClass, ConfigurationProperties configurationDefaults)
      Description copied from interface: ConfigurationFactory
      Creates a new configuration from a container class.
      Specified by:
      newConfiguration in interface ConfigurationFactory
      Parameters:
      containerClass - Container class that may be used to read annotations.
      configurationDefaults - Implementation of the default configuration.
      Returns:
      a new configuration instance.