public class NestedConfiguration
extends java.lang.Object
Configuration.addNested(NestedConfiguration).| Constructor and Description |
|---|
NestedConfiguration(java.lang.String path,
java.util.Map<java.lang.String,java.lang.Object> configuration)
For path = custom.config and configuration = [foo: [enabled: true, name: 'bar'] the generated config will be:
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getConfiguration() |
java.lang.String |
getPath() |
public NestedConfiguration(@NonNull
java.lang.String path,
@NonNull
java.util.Map<java.lang.String,java.lang.Object> configuration)
custom:
config:
foo:
enabled: true
name: bar
path - root pathconfiguration - configuration