public interface FunctionResolver
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
executeFunction(java.lang.String functionName,
java.util.List<java.lang.String> parameter)
Returns the value for the function with the given name.
|
boolean |
isKnownFunction(java.lang.String functionName)
Returns if the function with the given name can be resolved by the receiver.
|
java.lang.Object executeFunction(java.lang.String functionName, java.util.List<java.lang.String> parameter) throws UnknownFunctionException, InvalidParameterException
functionName
- The case sensitive name of the function.parameter
- A collection of parameters for the function.UnknownFunctionException
- The receiver is not knowing the function.InvalidParameterException
boolean isKnownFunction(java.lang.String functionName)
functionName
- The case sensitive name of the function.