ConfigData

Configuration data that has been loaded from a ConfigDataResource and may ultimately contribute property sources to Spring's Environment.

Author

Phillip Webb

Madhura Bhave

Since

2.4.0

See also

Constructors

Link copied to clipboard
constructor(propertySources: Collection<out PropertySource<out Any>>, options: Array<ConfigData.Option>)
Create a new ConfigData instance with the same options applied to each source.
constructor(propertySources: Collection<out PropertySource<out Any>>, propertySourceOptions: ConfigData.PropertySourceOptions)
Create a new ConfigData instance with specific property source options.

Types

Link copied to clipboard
enum Option
Option flags that can be applied.
Link copied to clipboard
class Options
A set of Option flags.
Link copied to clipboard
Strategy interface used to supply Options for a given PropertySource.

Properties

Link copied to clipboard
A ConfigData instance that contains no data.
Link copied to clipboard

Functions

Link copied to clipboard
open fun getOptions(propertySource: PropertySource<out Any>): ConfigData.Options
Return the config data options that apply to the given source.