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.bind.validation |
Binding validation support.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractBindHandler
Abstract base class for
BindHandler implementations. |
Modifier and Type | Field and Description |
---|---|
static BindHandler |
BindHandler.DEFAULT
Default no-op bind handler.
|
Modifier and Type | Method and Description |
---|---|
<T> BindResult<T> |
Binder.bind(ConfigurationPropertyName name,
Bindable<T> target,
BindHandler handler)
Bind the specified target
Bindable using this binders
property sources . |
protected <T> T |
Binder.bind(ConfigurationPropertyName name,
Bindable<T> target,
BindHandler handler,
org.springframework.boot.context.properties.bind.Binder.Context context,
boolean allowRecursiveBinding) |
<T> BindResult<T> |
Binder.bind(String name,
Bindable<T> target,
BindHandler handler)
Bind the specified target
Bindable using this binders
property sources . |
Constructor and Description |
---|
AbstractBindHandler(BindHandler parent)
Create a new binding handler instance with a specific parent.
|
Modifier and Type | Class and Description |
---|---|
class |
IgnoreErrorsBindHandler
BindHandler that can be used to ignore binding errors. |
class |
NoUnboundElementsBindHandler
BindHandler to enforce that all configuration properties under the root name
have been bound. |
Constructor and Description |
---|
IgnoreErrorsBindHandler(BindHandler parent) |
NoUnboundElementsBindHandler(BindHandler parent) |
NoUnboundElementsBindHandler(BindHandler parent,
Function<ConfigurationPropertySource,Boolean> filter) |
Modifier and Type | Class and Description |
---|---|
class |
ValidationBindHandler
BindHandler to apply Validators to bound results. |
Constructor and Description |
---|
ValidationBindHandler(BindHandler parent,
org.springframework.validation.Validator... validators) |
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.