インターフェースの使用
org.springframework.boot.context.properties.bind.BindContext
BindContext を使用するパッケージ
org.springframework.boot.context.properties.bind 内の BindContext 使用
型 BindContext のパラメーターを持つ org.springframework.boot.context.properties.bind のメソッド修飾子と型メソッド説明default ObjectSEBindHandler.onCreate(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ObjectSE result) 要素のバインドがバインドされていない結果で終了し、新しく作成されたインスタンスが返されるときに呼び出されます。AbstractBindHandler.onFailure(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ExceptionSE error) default ObjectSEBindHandler.onFailure(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ExceptionSE error) バインドが何らかの理由で失敗した場合に呼び出されます(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)またはBindHandler.onCreate(org.springframework.boot.context.properties.source.ConfigurationPropertyName, org.springframework.boot.context.properties.bind.Bindable<?>, org.springframework.boot.context.properties.bind.BindContext, java.lang.Object)呼び出しからの失敗を含む)。voidAbstractBindHandler.onFinish(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ObjectSE result) default voidBindHandler.onFinish(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ObjectSE result) バインドがバインド済みまたはバインドなしの結果で終了したときに呼び出されます。<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) 要素のバインドが開始されたときに、結果が決定される前に呼び出されます。AbstractBindHandler.onSuccess(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ObjectSE result) default ObjectSEBindHandler.onSuccess(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ObjectSE result) 要素のバインディングが成功した結果で終了すると呼び出されます。BoundPropertiesTrackingBindHandler.onSuccess(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ObjectSE result) org.springframework.boot.context.properties.bind.handler 内の BindContext 使用
型 BindContext のパラメーターを持つ org.springframework.boot.context.properties.bind.handler のメソッド修飾子と型メソッド説明IgnoreErrorsBindHandler.onFailure(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ExceptionSE error) IgnoreTopLevelConverterNotFoundBindHandler.onFailure(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ExceptionSE error) NoUnboundElementsBindHandler.onFailure(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ExceptionSE error) voidNoUnboundElementsBindHandler.onFinish(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ObjectSE result) <T> Bindable<T>NoUnboundElementsBindHandler.onStart(ConfigurationPropertyName name, Bindable<T> target, BindContext context) NoUnboundElementsBindHandler.onSuccess(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ObjectSE result) org.springframework.boot.context.properties.bind.validation 内の BindContext 使用
型 BindContext のパラメーターを持つ org.springframework.boot.context.properties.bind.validation のメソッド修飾子と型メソッド説明ValidationBindHandler.onFailure(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ExceptionSE error) voidValidationBindHandler.onFinish(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ObjectSE result) <T> Bindable<T>ValidationBindHandler.onStart(ConfigurationPropertyName name, Bindable<T> target, BindContext context) ValidationBindHandler.onSuccess(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ObjectSE result)