Class FunctionLibrary
- java.lang.Object
-
- com.aquima.interactions.expressions.functions.FunctionLibrary
-
- Direct Known Subclasses:
FunctionLibraryR7
public class FunctionLibrary extends Object
Base class for function libraries.- Since:
- 6.4
- Author:
- F. van der Meer, O. Kerpershoek
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
FunctionLibrary(IFunction... functions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addFunctions(IFunction... functions)
List<List<IFunction>>
getFunctionDefinitions()
This method returns a list of all available function definitions.List<IFunction>
getFunctionDefinitionsFor(String functionName)
This method returns a list with function definitions matching the specified name.
-
-
-
Constructor Detail
-
FunctionLibrary
protected FunctionLibrary(IFunction... functions)
-
-
Method Detail
-
addFunctions
protected void addFunctions(IFunction... functions)
-
getFunctionDefinitions
public List<List<IFunction>> getFunctionDefinitions()
This method returns a list of all available function definitions.- Returns:
- list with all function definitions.
-
getFunctionDefinitionsFor
public List<IFunction> getFunctionDefinitionsFor(String functionName)
This method returns a list with function definitions matching the specified name.- Parameters:
functionName
- The name of the function fow which the definitions are requested.- Returns:
- list with function definitions matching the specified name.
-
-