Uses of Class
org.springframework.boot.context.properties.bind.Bindable
Packages that use Bindable
Package
Description
Support for external configuration properties.
Support for
@ConfigurationProperties binding.General
BindHandler implementations.Binding validation support.
-
Uses of Bindable in org.springframework.boot.context.properties
Methods in org.springframework.boot.context.properties that return Bindable -
Uses of Bindable in org.springframework.boot.context.properties.bind
Methods in org.springframework.boot.context.properties.bind that return BindableModifier and TypeMethodDescriptionBindable<?> BindException.getTarget()Return the target being bound.static <T> Bindable<T> Create a newBindableof the specified type.static <T> Bindable<T> Bindable.of(ResolvableType type) Create a newBindableof the specified type.static <T> Bindable<T> Bindable.ofInstance(T instance) Create a newBindableof the type of the specified instance with an existing value equal to the instance.<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) Called when binding of an element starts but before any result has been determined.Bindable.withAnnotations(Annotation @Nullable ... annotations) Create an updatedBindableinstance with the specified annotations.Bindable.withBindMethod(@Nullable BindMethod bindMethod) Create an updatedBindableinstance with a specific bind method.Bindable.withBindRestrictions(Bindable.BindRestriction... additionalRestrictions) Create an updatedBindableinstance with additional bind restrictions.Bindable.withExistingValue(@Nullable T existingValue) Create an updatedBindableinstance with an existing value.Bindable.withSuppliedValue(@Nullable Supplier<T> suppliedValue) Create an updatedBindableinstance with a value supplier.Methods in org.springframework.boot.context.properties.bind with parameters of type BindableModifier and TypeMethodDescription<T> BindResult<T> Bind the specified targetBindableusing this binder'sproperty sources.<T> BindResult<T> Binder.bind(String name, Bindable<T> target, @Nullable BindHandler handler) Bind the specified targetBindableusing this binder'sproperty sources.<T> BindResult<T> Binder.bind(ConfigurationPropertyName name, Bindable<T> target) Bind the specified targetBindableusing this binder'sproperty sources.<T> BindResult<T> Binder.bind(ConfigurationPropertyName name, Bindable<T> target, @Nullable BindHandler handler) Bind the specified targetBindableusing this binder'sproperty sources.<T> TBinder.bindOrCreate(String name, Bindable<T> target) Bind the specified targetBindableusing this binder'sproperty sourcesor create a new instance using the type of theBindableif the result of the binding isnull.<T> TBinder.bindOrCreate(String name, Bindable<T> target, BindHandler handler) Bind the specified targetBindableusing this binder'sproperty sourcesor create a new instance using the type of theBindableif the result of the binding isnull.<T> TBinder.bindOrCreate(ConfigurationPropertyName name, Bindable<T> target, @Nullable BindHandler handler) Bind the specified targetBindableusing this binder'sproperty sourcesor create a new instance using the type of theBindableif the result of the binding isnull.BindableRuntimeHintsRegistrar.forBindables(Bindable<?>... bindables) Create a newBindableRuntimeHintsRegistrarfor the specified bindables.@Nullable Constructor<?> BindConstructorProvider.getBindConstructor(Bindable<?> bindable, boolean isNestedConstructorBinding) Return the bind constructor to use for the given bindable, ornullif constructor binding is not supported.default ObjectBindHandler.onCreate(ConfigurationPropertyName name, Bindable<?> target, BindContext context, Object result) Called when binding of an element ends with an unbound result and a newly created instance is about to be returned.@Nullable ObjectAbstractBindHandler.onFailure(ConfigurationPropertyName name, Bindable<?> target, BindContext context, Exception error) default @Nullable ObjectBindHandler.onFailure(ConfigurationPropertyName name, Bindable<?> target, BindContext context, Exception error) Called when binding fails for any reason (including failures fromBindHandler.onSuccess(ConfigurationPropertyName, Bindable, BindContext, Object)orBindHandler.onCreate(ConfigurationPropertyName, Bindable, BindContext, Object)calls).voidAbstractBindHandler.onFinish(ConfigurationPropertyName name, Bindable<?> target, BindContext context, @Nullable Object result) default voidBindHandler.onFinish(ConfigurationPropertyName name, Bindable<?> target, BindContext context, @Nullable Object result) Called when binding finishes with either bound or unbound 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) Called when binding of an element starts but before any result has been determined.@Nullable ObjectAbstractBindHandler.onSuccess(ConfigurationPropertyName name, Bindable<?> target, BindContext context, Object result) default @Nullable ObjectBindHandler.onSuccess(ConfigurationPropertyName name, Bindable<?> target, BindContext context, Object result) Called when binding of an element ends with a successful result.@Nullable ObjectBoundPropertiesTrackingBindHandler.onSuccess(ConfigurationPropertyName name, Bindable<?> target, BindContext context, Object result) Method parameters in org.springframework.boot.context.properties.bind with type arguments of type BindableModifier and TypeMethodDescriptionBindableRuntimeHintsRegistrar.forBindables(Iterable<Bindable<?>> bindables) Create a newBindableRuntimeHintsRegistrarfor the specified bindables.Constructors in org.springframework.boot.context.properties.bind with parameters of type BindableModifierConstructorDescriptionprotectedBindableRuntimeHintsRegistrar(Bindable<?>... bindables) Create a newBindableRuntimeHintsRegistrarfor the specified bindables. -
Uses of Bindable in org.springframework.boot.context.properties.bind.handler
Methods in org.springframework.boot.context.properties.bind.handler that return BindableModifier and TypeMethodDescription<T> @Nullable Bindable<T> NoUnboundElementsBindHandler.onStart(ConfigurationPropertyName name, Bindable<T> target, BindContext context) Methods in org.springframework.boot.context.properties.bind.handler with parameters of type BindableModifier and TypeMethodDescription@Nullable ObjectIgnoreErrorsBindHandler.onFailure(ConfigurationPropertyName name, Bindable<?> target, BindContext context, Exception error) @Nullable ObjectIgnoreTopLevelConverterNotFoundBindHandler.onFailure(ConfigurationPropertyName name, Bindable<?> target, BindContext context, Exception error) @Nullable ObjectNoUnboundElementsBindHandler.onFailure(ConfigurationPropertyName name, Bindable<?> target, BindContext context, Exception error) voidNoUnboundElementsBindHandler.onFinish(ConfigurationPropertyName name, Bindable<?> target, BindContext context, @Nullable Object result) <T> @Nullable Bindable<T> NoUnboundElementsBindHandler.onStart(ConfigurationPropertyName name, Bindable<T> target, BindContext context) @Nullable ObjectNoUnboundElementsBindHandler.onSuccess(ConfigurationPropertyName name, Bindable<?> target, BindContext context, Object result) -
Uses of Bindable in org.springframework.boot.context.properties.bind.validation
Methods in org.springframework.boot.context.properties.bind.validation that return BindableModifier and TypeMethodDescription<T> @Nullable Bindable<T> ValidationBindHandler.onStart(ConfigurationPropertyName name, Bindable<T> target, BindContext context) Methods in org.springframework.boot.context.properties.bind.validation with parameters of type BindableModifier and TypeMethodDescription@Nullable ObjectValidationBindHandler.onFailure(ConfigurationPropertyName name, Bindable<?> target, BindContext context, Exception error) voidValidationBindHandler.onFinish(ConfigurationPropertyName name, Bindable<?> target, BindContext context, @Nullable Object result) <T> @Nullable Bindable<T> ValidationBindHandler.onStart(ConfigurationPropertyName name, Bindable<T> target, BindContext context) @Nullable ObjectValidationBindHandler.onSuccess(ConfigurationPropertyName name, Bindable<?> target, BindContext context, Object result)