Class PropFunctionInvoker

java.lang.Object
io.higson.runtime.invoker.PropFunctionInvoker
All Implemented Interfaces:
FunctionInvoker

public class PropFunctionInvoker extends Object implements FunctionInvoker
Author:
przemek hertel
  • Constructor Details

    • PropFunctionInvoker

      public PropFunctionInvoker()
  • Method Details

    • invoke

      public Object invoke(Function function, Object... args)
      Description copied from interface: FunctionInvoker
      Invoke function, it is a good practice to wrap any outgoing exceptions with SmartParamException with FUNCTION_INVOKE_ERROR reason.
      Specified by:
      invoke in interface FunctionInvoker
      Parameters:
      function - description of function to invoke
      args - arguments
      Returns:
      evaluated value (can be null)