public final class ConfigData extends Object
ConfigDataResource
and may
ultimately contribute property sources
to Spring's
Environment
.ConfigDataLocationResolver
,
ConfigDataLoader
Modifier and Type | Class and Description |
---|---|
static class |
ConfigData.Option
Option flags that can be applied config data.
|
Constructor and Description |
---|
ConfigData(Collection<? extends PropertySource<?>> propertySources,
ConfigData.Option... options)
Create a new
ConfigData instance. |
Modifier and Type | Method and Description |
---|---|
Set<ConfigData.Option> |
getOptions()
Return a set of
config data options for this source. |
List<PropertySource<?>> |
getPropertySources()
Return the configuration data property sources in ascending priority order.
|
public ConfigData(Collection<? extends PropertySource<?>> propertySources, ConfigData.Option... options)
ConfigData
instance.propertySources
- the config data property sources in ascending priority
order.options
- the config data optionspublic List<PropertySource<?>> getPropertySources()
public Set<ConfigData.Option> getOptions()
config data options
for this source.