Interface UtilFunctionExecutor
- All Known Implementing Classes:
UtilFunctionExecutorImpl
public interface UtilFunctionExecutor
This interface represents the executor for utility functions.
-
Method Summary
Modifier and TypeMethodDescriptionexecute(String functionCode, HigsonContext ctx, Object[] args) Executes the given utility function given a function code, a context, and a set of arguments.
-
Method Details
-
execute
Executes the given utility function given a function code, a context, and a set of arguments.- Parameters:
functionCode- The utility function to be executed.ctx- The context in which the function is executed.args- The arguments provided for the utility function.- Returns:
- the result of the utility function execution.
- Throws:
HigsonRuntimeException- if no arguments are provided or if the provided utility function is not supported.
-
supportedFunctions
-