Class FlowInvoker

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

public class FlowInvoker extends Object implements FunctionInvoker
  • Constructor Details

  • 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)