MapConfigurationPropertySource
A ConfigurationPropertySource backed by a Map and using standard name mapping rules.
Author
Phillip Webb
Madhura Bhave
Since
2.0.0
Constructors
Link copied to clipboard
constructor()
Create a new empty MapConfigurationPropertySource instance.
Create a new MapConfigurationPropertySource instance with entries copies from the specified map.
Functions
Link copied to clipboard
Returns if the source contains any descendants of the specified name.
Link copied to clipboard
Return a filtered variant of this source, containing only names that match the given Predicate.
Link copied to clipboard
Return a single new ConfigurationPropertySource adapted from the given Spring PropertySource or
null
if the source cannot be adapted.Link copied to clipboard
Return a single ConfigurationProperty from the source or
null
if no property can be found.Link copied to clipboard
Return the underlying source that is actually providing the properties.
Link copied to clipboard
Link copied to clipboard
Returns a sequential
Stream
for the names managed by this source.Link copied to clipboard
open fun withAliases(aliases: ConfigurationPropertyNameAliases): IterableConfigurationPropertySource
Return a variant of this source that supports name aliases.
Link copied to clipboard
Return a variant of this source that supports a prefix.