Package io.higson.runtime.prefetch
Class FunctionInitializerImpl
java.lang.Object
io.higson.runtime.prefetch.FunctionInitializerImpl
- All Implemented Interfaces:
Initializer
- Author:
- ereda
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinitialize(String functionCode) Calls the function using it code.
-
Constructor Details
-
FunctionInitializerImpl
public FunctionInitializerImpl()
-
-
Method Details
-
initialize
Calls the function using it code. If function requires arguments, mock them as null and create call with this arguments. If the function is not found in the registered repository, the exception is thrown.- Specified by:
initializein interfaceInitializer- Parameters:
functionCode- it's a code of function which was added to the list of functions to prefetch
-