Package | Description |
---|---|
org.springframework.boot.context.properties.bind |
Support for
@ConfigurationProperties binding. |
org.springframework.boot.context.properties.bind.handler |
General
BindHandler implementations. |
org.springframework.boot.context.properties.source |
Sources for external configuration properties.
|
Modifier and Type | Method and Description |
---|---|
Iterable<ConfigurationPropertySource> |
BindContext.getSources()
|
Stream<ConfigurationPropertySource> |
BindContext.streamSources()
|
Constructor and Description |
---|
Binder(ConfigurationPropertySource... sources)
Create a new
Binder instance for the specified sources. |
Constructor and Description |
---|
Binder(Iterable<ConfigurationPropertySource> sources)
Create a new
Binder instance for the specified sources. |
Binder(Iterable<ConfigurationPropertySource> sources,
PlaceholdersResolver placeholdersResolver)
Create a new
Binder instance for the specified sources. |
Binder(Iterable<ConfigurationPropertySource> sources,
PlaceholdersResolver placeholdersResolver,
ConversionService conversionService)
Create a new
Binder instance for the specified sources. |
Constructor and Description |
---|
NoUnboundElementsBindHandler(BindHandler parent,
Function<ConfigurationPropertySource,Boolean> filter) |
Modifier and Type | Interface and Description |
---|---|
interface |
IterableConfigurationPropertySource
A
ConfigurationPropertySource with a fully Iterable set of entries. |
Modifier and Type | Class and Description |
---|---|
class |
MapConfigurationPropertySource
An
ConfigurationPropertySource backed by a Map and using standard name
mapping rules. |
Modifier and Type | Method and Description |
---|---|
default ConfigurationPropertySource |
ConfigurationPropertySource.filter(Predicate<ConfigurationPropertyName> filter)
Return a filtered variant of this source, containing only names that match the
given
Predicate . |
default ConfigurationPropertySource |
ConfigurationPropertySource.withAliases(ConfigurationPropertyNameAliases aliases)
Return a variant of this source that supports name aliases.
|
Modifier and Type | Method and Description |
---|---|
static Iterable<ConfigurationPropertySource> |
ConfigurationPropertySources.from(Iterable<PropertySource<?>> sources)
Return
Iterable containing new ConfigurationPropertySource
instances adapted from the given Spring PropertySources . |
static Iterable<ConfigurationPropertySource> |
ConfigurationPropertySources.from(MutablePropertySources sources)
Return
Iterable containing new ConfigurationPropertySource
instances adapted from the given Spring MutablePropertySources . |
static Iterable<ConfigurationPropertySource> |
ConfigurationPropertySources.from(PropertySource<?> source)
Return
Iterable containing a single new ConfigurationPropertySource
adapted from the given Spring PropertySource . |
static Iterable<ConfigurationPropertySource> |
ConfigurationPropertySources.get(Environment environment)
Return a set of
ConfigurationPropertySource instances that have previously
been attached to the Environment . |
Modifier and Type | Method and Description |
---|---|
Boolean |
UnboundElementsSourceFilter.apply(ConfigurationPropertySource configurationPropertySource) |
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.