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.OptionOption flags that can be applied. | 
| static class  | ConfigData.OptionsA set of  ConfigData.Optionflags. | 
| static interface  | ConfigData.PropertySourceOptionsStrategy interface used to supply  ConfigData.Optionsfor a givenPropertySource. | 
| Modifier and Type | Field and Description | 
|---|---|
| static ConfigData | EMPTYA  ConfigDatainstance that contains no data. | 
| Constructor and Description | 
|---|
| ConfigData(Collection<? extends PropertySource<?>> propertySources,
          ConfigData.Option... options)Create a new  ConfigDatainstance with the same options applied to each
 source. | 
| ConfigData(Collection<? extends PropertySource<?>> propertySources,
          ConfigData.PropertySourceOptions propertySourceOptions)Create a new  ConfigDatainstance with specific property source options. | 
| Modifier and Type | Method and Description | 
|---|---|
| Set<ConfigData.Option> | getOptions()Deprecated. 
 since 2.4.5 in favor of  getOptions(PropertySource) | 
| ConfigData.Options | getOptions(PropertySource<?> propertySource)Return the  config data optionsthat apply to the given 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 with the same options applied to each
 source.propertySources - the config data property sources in ascending priority
 order.options - the config data options applied to each sourceConfigData(Collection, PropertySourceOptions)public ConfigData(Collection<? extends PropertySource<?>> propertySources, ConfigData.PropertySourceOptions propertySourceOptions)
ConfigData instance with specific property source options.propertySources - the config data property sources in ascending priority
 order.propertySourceOptions - the property source optionspublic List<PropertySource<?>> getPropertySources()
@Deprecated public Set<ConfigData.Option> getOptions()
getOptions(PropertySource)config data options for this source.public ConfigData.Options getOptions(PropertySource<?> propertySource)
config data options that apply to the given source.propertySource - the property source to check