Class JavaFunctionInvoker
java.lang.Object
org.smartparam.engine.functions.java.AbstractJavaFunctionInvoker
org.smartparam.engine.functions.java.JavaFunctionInvoker
- All Implemented Interfaces:
FunctionInvoker
- Author:
- Adam Dubiel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionInvoke function, it is a good practice to wrap any outgoing exceptions withSmartParamExceptionwith FUNCTION_INVOKE_ERROR reason.Methods inherited from class org.smartparam.engine.functions.java.AbstractJavaFunctionInvoker
invokeMethod
-
Constructor Details
-
JavaFunctionInvoker
public JavaFunctionInvoker()
-
-
Method Details
-
invoke
Description copied from interface:FunctionInvokerInvoke function, it is a good practice to wrap any outgoing exceptions withSmartParamExceptionwith FUNCTION_INVOKE_ERROR reason.- Parameters:
function- description of function to invokeargs- arguments- Returns:
- evaluated value (can be null)
-