onSuccess

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. Implementations may change the ultimately returned result or perform addition validation.

Return

the actual result that should be used (may be null)

Parameters

name

the name of the element being bound

target

the item being bound

context

the bind context

result

the bound result (never null)