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