@java.lang.Deprecated @CompileStatic class NavigableMapPropertySource extends MapPropertySource
A PropertySource that doesn't return values for navigable submaps
A non-empty list is presented element by element, under the indexed names Spring Boot binds
a list from, such as app.names[0] or app.items[0].name, rather than as one value.
Spring Boot binds a value it finds under the name of the list itself by conversion rather than
element by element, so a List of beans would otherwise be bound as a list of maps and
placeholders in scalar elements would not be resolved. Empty lists remain available as values
so they can clear defaults during binding.
| Type | Name and description |
|---|---|
java.lang.String[] |
navigablePropertyNames |
java.lang.String[] |
propertyNames |
| Constructor and description |
|---|
NavigableMapPropertySource(java.lang.String name, NavigableMap source) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
boolean |
containsProperty(java.lang.String name) |
|
java.lang.Object |
getNavigableProperty(java.lang.String name) |
|
java.lang.Object |
getProperty(java.lang.String name) |
|
java.lang.String[] |
getPropertyNames() |
| Methods inherited from class | Name |
|---|---|
class MapPropertySource |
containsProperty, equals, getClass, getName, getProperty, getPropertyNames, getSource, hashCode, named, notify, notifyAll, toString, wait, wait, wait |