public interface PropertySources extends java.lang.Iterable<PropertySource<?>>
PropertySource
objects.PropertySource
Modifier and Type | Method and Description |
---|---|
boolean |
contains(java.lang.String name)
Return whether a property source with the given name is contained.
|
PropertySource<?> |
get(java.lang.String name)
Return the property source with the given name,
null if not found. |
default java.util.stream.Stream<PropertySource<?>> |
stream()
Return a sequential
Stream containing the property sources. |
default java.util.stream.Stream<PropertySource<?>> stream()
Stream
containing the property sources.boolean contains(java.lang.String name)
name
- the name of the property source to find@Nullable PropertySource<?> get(java.lang.String name)
null
if not found.name
- the name of the property source to find