@Api public interface ParameterBinder
InvocableMethod. Used to dynamically set invocation parameters.| Modifier and Type | Method and Description |
|---|---|
Object |
bind(int index,
Class<?> type,
InvocableMethod method)
Returns object that will be used as argument for invoked method.
|
boolean |
shouldBind(int index,
Class<?> type,
InvocableMethod method)
Must return true if this binder should be used to bind given parameter.
|
boolean shouldBind(int index,
Class<?> type,
InvocableMethod method)
index - parameter index (first is 0)type - parameter typemethod - invoked methodObject bind(int index, Class<?> type, InvocableMethod method)
index - parameter index (first is 0)type - parameter typemethod - invoked methodCopyright © 2023 Suncode. All rights reserved.