Your second task is to create the actual custom functions, each of which implements the IAeFunction interface. These also expose one single public method:
call(IAeFunctionExecutionContext, List)
; it performs the function's task that you create. The function's argument list (if any) is passed to the call method using the
List
argument. This function may optionally use the function execution
IAeFunctionExecutionContext
as needed. Individual custom functions should throw
AeFunctionCallException
, constructed to contain the root exception message, if they encounter a problem that prevents them from finishing their task.