public static class HierarchicalConfigurationStrategy.ConfigurationImpl extends Object implements ConfigurationStrategy.Configuration
Constructor and Description |
---|
ConfigurationImpl() |
Modifier and Type | Method and Description |
---|---|
<T> T |
get(Class<T> klass)
Returns the configuration instance of the specified class for the current test.
|
Set<Class<?>> |
keySet()
Returns the set of known configuration classes.
|
Map<Class<?>,Object> |
map()
Returns the map of known configuration classes to configuration instances.
|
<T> void |
put(Class<T> klass,
T instance) |
public <T> void put(Class<T> klass, T instance)
public <T> T get(Class<T> klass)
ConfigurationStrategy.Configuration
Returns the configuration instance of the specified class for the current test.
get
in interface ConfigurationStrategy.Configuration
public Set<Class<?>> keySet()
ConfigurationStrategy.Configuration
Returns the set of known configuration classes.
keySet
in interface ConfigurationStrategy.Configuration
public Map<Class<?>,Object> map()
ConfigurationStrategy.Configuration
Returns the map of known configuration classes to configuration instances.
map
in interface ConfigurationStrategy.Configuration