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.
    Returns the set of known configuration classes.
    map()
    Returns the map of known configuration classes to configuration instances.
  • Method Details

    • 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.
    • map

      Map<Class<?>,Object> map()
      Returns the map of known configuration classes to configuration instances.