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.
|
Modifier and Type | Field and Description |
---|---|
static ConfigData |
EMPTY
A
ConfigData instance that contains no 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 static final ConfigData EMPTY
ConfigData
instance that contains no data.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.