Package io.fluentlenium.configuration
Class DefaultConfigurationFactory
java.lang.Object
io.fluentlenium.configuration.DefaultConfigurationFactory
- All Implemented Interfaces:
ConfigurationFactory
Creates new configuration from a container class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected InputStream
Get inputstream containing fluentlenium properties.newConfiguration
(Class<?> containerClass, ConfigurationProperties configurationDefaults) Creates a new configuration from a container class.
-
Constructor Details
-
DefaultConfigurationFactory
public DefaultConfigurationFactory()
-
-
Method Details
-
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 interfaceConfigurationFactory
- Parameters:
containerClass
- Container class that may be used to read annotations.configurationDefaults
- Implementation of the default configuration.- Returns:
- a new configuration instance.
-