public final class ConfigData
extends java.lang.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(java.util.Collection<? extends org.springframework.core.env.PropertySource<?>> propertySources,
ConfigData.Option... options)
Create a new
ConfigData instance. |
Modifier and Type | Method and Description |
---|---|
java.util.Set<ConfigData.Option> |
getOptions()
Return a set of
config data options for this source. |
java.util.List<org.springframework.core.env.PropertySource<?>> |
getPropertySources()
Return the configuration data property sources in ascending priority order.
|
public ConfigData(java.util.Collection<? extends org.springframework.core.env.PropertySource<?>> propertySources, ConfigData.Option... options)
ConfigData
instance.propertySources
- the config data property sources in ascending priority
order.options
- the config data optionspublic java.util.List<org.springframework.core.env.PropertySource<?>> getPropertySources()
public java.util.Set<ConfigData.Option> getOptions()
config data options
for this source.