Package | Description |
---|---|
org.springframework.boot.context.properties.bind |
Support for
@ConfigurationProperties binding. |
Modifier and Type | Method and Description |
---|---|
<T> BindResult<T> |
Binder.bind(ConfigurationPropertyName name,
Bindable<T> target)
Bind the specified target
Bindable using this binder's
property sources . |
<T> BindResult<T> |
Binder.bind(ConfigurationPropertyName name,
Bindable<T> target,
BindHandler handler)
Bind the specified target
Bindable using this binder's
property sources . |
<T> BindResult<T> |
Binder.bind(String name,
Bindable<T> target)
Bind the specified target
Bindable using this binder's
property sources . |
<T> BindResult<T> |
Binder.bind(String name,
Bindable<T> target,
BindHandler handler)
Bind the specified target
Bindable using this binder's
property sources . |
<T> BindResult<T> |
Binder.bind(String name,
Class<T> target)
Bind the specified target
Class using this binder's
property sources . |
<U> BindResult<U> |
BindResult.map(Function<? super T,? extends U> mapper)
Apply the provided mapping function to the bound value, or return an updated
unbound result if no value has been bound.
|
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.