Class Configuration

java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<String,Object>
io.micronaut.starter.feature.config.Configuration
All Implemented Interfaces:
Serializable, Cloneable, Map<String,Object>
Direct Known Subclasses:
ApplicationConfiguration, BootstrapConfiguration

public class Configuration extends LinkedHashMap<String,Object>
Models application environment configuration to specify where the configuration is rooted for the given configuration values (key/value pairs).
Since:
2.3.0
See Also:
  • Constructor Details

    • Configuration

      public Configuration(@NonNull @NonNull String sourceSet, @NonNull @NonNull String fileName, @NonNull @NonNull String templateKey)
      A configuration rooted at path, with the given map of configurations
      Parameters:
      sourceSet - where the configuration is rooted, e.g. main, test
      fileName - Filename
      templateKey - Template Key
  • Method Details