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