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 theirConfigurer
.- Since:
- 4.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods 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 Detail
-
get
<T> T get(Class<T> configClass)
Returns the configuration instance of the specified class for the current test.
-
keySet
Collection<Class<?>> keySet()
Returns the set of known configuration classes.
-
-