クラスの使用
org.springframework.boot.context.properties.bind.Bindable
Bindable を使用するパッケージ
org.springframework.boot.context.properties 内の Bindable 使用
org.springframework.boot.context.properties.bind 内の Bindable 使用
修飾子と型メソッド説明Bindable<?>BindException.getTarget()バインドされているターゲットを返します。static <T> Bindable<T>指定された型の新しいBindableを作成します。static <T> Bindable<T>Bindable.of(ResolvableType type) 指定された型の新しいBindableを作成します。static <T> Bindable<T>Bindable.ofInstance(T instance) インスタンスに等しい既存の値を使用して、指定されたインスタンスの型の新しいBindableを作成します。<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) 要素のバインドが開始されたときに、結果が決定される前に呼び出されます。Bindable.withAnnotations(AnnotationSE... annotations) 指定されたアノテーションを使用して、更新されたBindableインスタンスを作成します。Bindable.withBindMethod(BindMethod bindMethod) 特定のバインドメソッドを使用して、更新されたBindableインスタンスを作成します。Bindable.withBindRestrictions(Bindable.BindRestriction... additionalRestrictions) 追加のバインド制限を使用して、更新されたBindableインスタンスを作成します。Bindable.withExistingValue(T existingValue) 既存の値で更新されたBindableインスタンスを作成します。Bindable.withSuppliedValue(SupplierSE<T> suppliedValue) 値サプライヤーで更新されたBindableインスタンスを作成します。型 Bindable のパラメーターを持つ org.springframework.boot.context.properties.bind のメソッド修飾子と型メソッド説明<T> BindResult<T>このバインダーのproperty sourcesを使用して、指定されたターゲットBindableをバインドします。<T> BindResult<T>Binder.bind(StringSE name, Bindable<T> target, BindHandler handler) このバインダーのproperty sourcesを使用して、指定されたターゲットBindableをバインドします。<T> BindResult<T>Binder.bind(ConfigurationPropertyName name, Bindable<T> target) このバインダーのproperty sourcesを使用して、指定されたターゲットBindableをバインドします。<T> BindResult<T>Binder.bind(ConfigurationPropertyName name, Bindable<T> target, BindHandler handler) このバインダーのproperty sourcesを使用して、指定されたターゲットBindableをバインドします。<T> TBinder.bindOrCreate(StringSE name, Bindable<T> target) このバインダーのproperty sourcesを使用して指定されたターゲットBindableをバインドするか、バインドの結果がnullの場合、Bindableの型を使用して新しいインスタンスを作成します。<T> TBinder.bindOrCreate(StringSE name, Bindable<T> target, BindHandler handler) このバインダーのproperty sourcesを使用して指定されたターゲットBindableをバインドするか、バインドの結果がnullの場合、Bindableの型を使用して新しいインスタンスを作成します。<T> TBinder.bindOrCreate(ConfigurationPropertyName name, Bindable<T> target, BindHandler handler) このバインダーのproperty sourcesを使用して指定されたターゲットBindableをバインドするか、バインドの結果がnullの場合、Bindableの型を使用して新しいインスタンスを作成します。BindableRuntimeHintsRegistrar.forBindables(Bindable<?>... bindables) 指定されたバインド可能オブジェクトに対して新しいBindableRuntimeHintsRegistrarを作成します。BindConstructorProvider.getBindConstructor(Bindable<?> bindable, boolean isNestedConstructorBinding) 指定されたバインド可能オブジェクトに使用するバインドコンストラクターを返します。コンストラクターバインディングがサポートされていない場合はnullを返します。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) 型 Bindable の型引数を持つ org.springframework.boot.context.properties.bind のメソッドパラメーター修飾子と型メソッド説明BindableRuntimeHintsRegistrar.forBindables(IterableSE<Bindable<?>> bindables) 指定されたバインド可能オブジェクトに対して新しいBindableRuntimeHintsRegistrarを作成します。型 Bindable のパラメーターを持つ org.springframework.boot.context.properties.bind のコンストラクター修飾子コンストラクター説明protectedBindableRuntimeHintsRegistrar(Bindable<?>... bindables) 指定されたバインド可能オブジェクトに対して新しいBindableRuntimeHintsRegistrarを作成します。org.springframework.boot.context.properties.bind.handler 内の Bindable 使用
修飾子と型メソッド説明<T> Bindable<T>NoUnboundElementsBindHandler.onStart(ConfigurationPropertyName name, Bindable<T> target, BindContext context) 型 Bindable のパラメーターを持つ 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 内の Bindable 使用
修飾子と型メソッド説明<T> Bindable<T>ValidationBindHandler.onStart(ConfigurationPropertyName name, Bindable<T> target, BindContext context) 型 Bindable のパラメーターを持つ 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)