Interface FunctionMissing

All Superinterfaces:
Serializable
All Known Implementing Classes:
JavaMethodReflectionFunctionMissing

public interface FunctionMissing extends Serializable
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 Details

    • onFunctionMissing

      AviatorObject onFunctionMissing(String name, Map<String,Object> env, AviatorObject... args)
      Called when function not found, return the invocation result.
      Parameters:
      name - function name
      env - invocation env
      args - invocation arguments.
      Returns:
      The invocation result.