ConfigurationStrategy.Configuration
public static class HierarchicalConfigurationStrategy.ConfigurationImpl extends Object implements ConfigurationStrategy.Configuration
Constructor | Description |
---|---|
ConfigurationImpl() |
Modifier and Type | Method | 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
get
in interface ConfigurationStrategy.Configuration
public Set<Class<?>> keySet()
ConfigurationStrategy.Configuration
keySet
in interface ConfigurationStrategy.Configuration
public Map<Class<?>,Object> map()
ConfigurationStrategy.Configuration
map
in interface ConfigurationStrategy.Configuration