类的使用
org.springframework.boot.context.properties.bind.BindResult
使用BindResult的程序包
程序包
说明
Support for
@ConfigurationProperties
binding.-
org.springframework.boot.context.properties.bind中BindResult的使用
修饰符和类型方法说明<T> BindResult
<T> Bind the specified targetClass
using this binder'sproperty sources
.<T> BindResult
<T> Bind the specified targetBindable
using this binder'sproperty sources
.<T> BindResult
<T> Binder.bind
(String name, Bindable<T> target, BindHandler handler) Bind the specified targetBindable
using this binder'sproperty sources
.<T> BindResult
<T> Binder.bind
(ConfigurationPropertyName name, Bindable<T> target) Bind the specified targetBindable
using this binder'sproperty sources
.<T> BindResult
<T> Binder.bind
(ConfigurationPropertyName name, Bindable<T> target, BindHandler handler) Bind the specified targetBindable
using this binder'sproperty sources
.<U> BindResult
<U> Apply the provided mapping function to the bound value, or return an updated unbound result if no value has been bound.