public class FunctionLibrary extends Object
| Constructor and Description |
|---|
FunctionLibrary() |
| Modifier and Type | Method and Description |
|---|---|
Function |
getFunction(String functionName)
Try to find function in library by name.
|
Map<String,Function> |
getMembers()
Gets the function library members.
|
String |
getName()
Get the function library name.
|
String |
getPrefix()
Get the library prefix.
|
boolean |
knowsFunction(String functionName)
Does this function library know a function with the given name.
|
void |
setMembers(Map<String,Function> members)
Set the function library content.
|
void |
setName(String name)
Get the name of the function library.
|
void |
setPrefix(String prefix)
Set the library prefix.
|
public Function getFunction(String functionName) throws NoSuchFunctionException
functionName - function name.NoSuchFunctionExceptionpublic boolean knowsFunction(String functionName)
functionName - name to search for.public void setMembers(Map<String,Function> members)
members - public String getPrefix()
public void setPrefix(String prefix)
prefix - public String getName()
public void setName(String name)
name - Copyright © 2008–2015 ConSol* Consulting&Solutions GmbH. All rights reserved.