public interface IterableConfigurationPropertySource extends ConfigurationPropertySource, Iterable<ConfigurationPropertyName>
ConfigurationPropertySource with a fully Iterable set of entries.
 Implementations of this interface must be able to iterate over all
 contained configuration properties. Any non-null result from
 ConfigurationPropertySource.getConfigurationProperty(ConfigurationPropertyName) must also have an
 equivalent entry in the iterator.ConfigurationPropertyName, 
OriginTrackedValue, 
ConfigurationPropertySource.getConfigurationProperty(ConfigurationPropertyName), 
iterator(), 
stream()| Modifier and Type | Method and Description | 
|---|---|
default ConfigurationPropertyState | 
containsDescendantOf(ConfigurationPropertyName name)
Returns if the source contains any descendants of the specified name. 
 | 
default IterableConfigurationPropertySource | 
filter(Predicate<ConfigurationPropertyName> filter)
Return a filtered variant of this source, containing only names that match the
 given  
Predicate. | 
default Iterator<ConfigurationPropertyName> | 
iterator()
Return an iterator for the  
names managed by this
 source. | 
Stream<ConfigurationPropertyName> | 
stream()
Returns a sequential  
Stream for the names
 managed by this source. | 
default IterableConfigurationPropertySource | 
withAliases(ConfigurationPropertyNameAliases aliases)
Return a variant of this source that supports name aliases. 
 | 
getConfigurationProperty, getUnderlyingSourceforEach, spliteratordefault Iterator<ConfigurationPropertyName> iterator()
names managed by this
 source.iterator in interface Iterable<ConfigurationPropertyName>null)Stream<ConfigurationPropertyName> stream()
Stream for the names
 managed by this source.null)default ConfigurationPropertyState containsDescendantOf(ConfigurationPropertyName name)
ConfigurationPropertySourceConfigurationPropertyState.PRESENT or
 ConfigurationPropertyState.ABSENT if an answer can be determined or
 ConfigurationPropertyState.UNKNOWN if it's not possible to determine a
 definitive answer.containsDescendantOf in interface ConfigurationPropertySourcename - the name to checkdefault IterableConfigurationPropertySource filter(Predicate<ConfigurationPropertyName> filter)
ConfigurationPropertySourcePredicate.filter in interface ConfigurationPropertySourcefilter - the filter to matchConfigurationPropertySource instancedefault IterableConfigurationPropertySource withAliases(ConfigurationPropertyNameAliases aliases)
ConfigurationPropertySourcewithAliases in interface ConfigurationPropertySourcealiases - a function that returns a stream of aliases for any given nameConfigurationPropertySource instance supporting name aliases