クラスの使用
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> T
Binder.bindOrCreate
(StringSE name, Bindable<T> target) このバインダーのproperty sources
を使用して指定されたターゲットBindable
をバインドするか、バインドの結果がnull
の場合、Bindable
の型を使用して新しいインスタンスを作成します。<T> T
Binder.bindOrCreate
(StringSE name, Bindable<T> target, BindHandler handler) このバインダーのproperty sources
を使用して指定されたターゲットBindable
をバインドするか、バインドの結果がnull
の場合、Bindable
の型を使用して新しいインスタンスを作成します。<T> T
Binder.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 ObjectSE
BindHandler.onCreate
(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ObjectSE result) 要素のバインドがバインドされていない結果で終了し、新しく作成されたインスタンスが返されるときに呼び出されます。AbstractBindHandler.onFailure
(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ExceptionSE error) default ObjectSE
BindHandler.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)
呼び出しからの失敗を含む)。void
AbstractBindHandler.onFinish
(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ObjectSE result) default void
BindHandler.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 ObjectSE
BindHandler.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 のコンストラクター修飾子コンストラクター説明protected
BindableRuntimeHintsRegistrar
(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) void
NoUnboundElementsBindHandler.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) void
ValidationBindHandler.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)