Interface FunctionMissing
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
JavaMethodReflectionFunctionMissing
Function not found hook interface. The
onFunctionMissing(String, Map, AviatorObject...) method will be called
when function not found, return the invocation result.- Since:
- 4.2.5
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiononFunctionMissing(String name, Map<String, Object> env, AviatorObject... args) Called when function not found, return the invocation result.
-
Method Details
-
onFunctionMissing
Called when function not found, return the invocation result.- Parameters:
name- function nameenv- invocation envargs- invocation arguments.- Returns:
- The invocation result.
-