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 | Method and Description |
---|---|
Object |
AbstractBindHandler.onFailure(ConfigurationPropertyName name,
Bindable<?> target,
BindContext context,
Exception error) |
default Object |
BindHandler.onFailure(ConfigurationPropertyName name,
Bindable<?> target,
BindContext context,
Exception error)
Called when binding fails for any reason (including failures from
BindHandler.onSuccess(org.springframework.boot.context.properties.source.ConfigurationPropertyName, org.springframework.boot.context.properties.bind.Bindable<?>, org.springframework.boot.context.properties.bind.BindContext, java.lang.Object) calls). |
void |
AbstractBindHandler.onFinish(ConfigurationPropertyName name,
Bindable<?> target,
BindContext context,
Object result) |
default void |
BindHandler.onFinish(ConfigurationPropertyName name,
Bindable<?> target,
BindContext context,
Object result)
Called when binding finishes, regardless of whether the property was bound or not.
|
<T> Bindable<T> |
AbstractBindHandler.onStart(ConfigurationPropertyName name,
Bindable<T> target,
BindContext context) |
default <T> Bindable<T> |
BindHandler.onStart(ConfigurationPropertyName name,
Bindable<T> target,
BindContext context)
Called when binding of an element starts but before any result has been determined.
|
Object |
AbstractBindHandler.onSuccess(ConfigurationPropertyName name,
Bindable<?> target,
BindContext context,
Object result) |
default Object |
BindHandler.onSuccess(ConfigurationPropertyName name,
Bindable<?> target,
BindContext context,
Object result)
Called when binding of an element ends with a successful result.
|
Modifier and Type | Method and Description |
---|---|
Object |
IgnoreErrorsBindHandler.onFailure(ConfigurationPropertyName name,
Bindable<?> target,
BindContext context,
Exception error) |
Object |
IgnoreTopLevelConverterNotFoundBindHandler.onFailure(ConfigurationPropertyName name,
Bindable<?> target,
BindContext context,
Exception error) |
void |
NoUnboundElementsBindHandler.onFinish(ConfigurationPropertyName name,
Bindable<?> target,
BindContext context,
Object result) |
Object |
NoUnboundElementsBindHandler.onSuccess(ConfigurationPropertyName name,
Bindable<?> target,
BindContext context,
Object result) |
Modifier and Type | Method and Description |
---|---|
void |
ValidationBindHandler.onFinish(ConfigurationPropertyName name,
Bindable<?> target,
BindContext context,
Object result) |
Object |
ValidationBindHandler.onSuccess(ConfigurationPropertyName name,
Bindable<?> target,
BindContext context,
Object result) |
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.