Class NestedConfiguration
java.lang.Object
io.micronaut.starter.feature.config.NestedConfiguration
A utility class to supply nested configuration via
Configuration.addNested(NestedConfiguration)
.- Since:
- 3.9.x
- Author:
- Sergio del Amo
-
Constructor Summary
ConstructorDescriptionNestedConfiguration
(@NonNull String path, @NonNull Map<String, Object> configuration) For path = custom.config and configuration = [foo: [enabled: true, name: 'bar'] the generated config will be: -
Method Summary
-
Constructor Details
-
NestedConfiguration
public NestedConfiguration(@NonNull @NonNull String path, @NonNull @NonNull Map<String, Object> configuration) For path = custom.config and configuration = [foo: [enabled: true, name: 'bar'] the generated config will be:custom: config: foo: enabled: true name: bar
- Parameters:
path
- root pathconfiguration
- configuration
-
-
Method Details
-
getPath
-
getConfiguration
-