Package org.robolectric.pluginapi.config
Interface ConfigurationStrategy.Configuration
- All Known Implementing Classes:
HierarchicalConfigurationStrategy.ConfigurationImpl
- Enclosing interface:
- ConfigurationStrategy
public static interface ConfigurationStrategy.Configuration
Heterogeneous typesafe collection of configuration objects managed by their
Configurer
.- Since:
- 4.2
-
Method Summary
Modifier and Type Method Description <T> T
get(Class<T> configClass)
Returns the configuration instance of the specified class for the current test.Collection<Class<?>>
keySet()
Returns the set of known configuration classes.Map<Class<?>,Object>
map()
Returns the map of known configuration classes to configuration instances.
-
Method Details
-
get
Returns the configuration instance of the specified class for the current test. -
keySet
Collection<Class<?>> keySet()Returns the set of known configuration classes. -
map
Returns the map of known configuration classes to configuration instances.
-