Interface FunctionCallback.MethodInvokingSpec
- Enclosing interface:
- FunctionCallback
public static interface FunctionCallback.MethodInvokingSpec
Method invoking builder interface.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds theFunctionCallback
instance.Optional function name.targetClass
(Class<?> targetClass) Target class where the method is defined.targetObject
(Object methodObject) For non-static objects the target object is used to invoke the method.
-
Method Details
-
name
Optional function name. If not provided the method name is used as the function.- Parameters:
name
- Function name. Unique within the model.
-
targetObject
For non-static objects the target object is used to invoke the method.- Parameters:
methodObject
- target object where the method is defined.
-
targetClass
Target class where the method is defined. Used for static methods. For non-static methods the target object is used.- Parameters:
targetClass
- method target class.
-
build
FunctionCallback build()Builds theFunctionCallback
instance.
-