IgnoreTopLevelConverterNotFoundBindHandler
BindHandler that can be used to ignore top-level ConverterNotFoundExceptions.
Author
Madhura Bhave
Since
2.0.1
Constructors
Link copied to clipboard
constructor()
Create a new IgnoreTopLevelConverterNotFoundBindHandler instance.
Create a new IgnoreTopLevelConverterNotFoundBindHandler instance with a specific parent.
Functions
Link copied to clipboard
open fun onCreate(name: ConfigurationPropertyName, target: Bindable<out Any>, context: BindContext, result: Any): Any
Called when binding of an element ends with an unbound result and a newly created instance is about to be returned.
Link copied to clipboard
open fun onFailure(name: ConfigurationPropertyName, target: Bindable<out Any>, context: BindContext, error: Exception): Any
Link copied to clipboard
open fun onFinish(name: ConfigurationPropertyName, target: Bindable<out Any>, context: BindContext, result: Any)
Called when binding finishes with either bound or unbound result.
Link copied to clipboard
open fun <T> onStart(name: ConfigurationPropertyName, target: Bindable<T>, context: BindContext): Bindable<T>
Called when binding of an element starts but before any result has been determined.
Link copied to clipboard
open fun onSuccess(name: ConfigurationPropertyName, target: Bindable<out Any>, context: BindContext, result: Any): Any
Called when binding of an element ends with a successful result.