public interface ExpressionFunctionManager extends FunctionFactory
FunctionFactory
, but provides the functions to add new
expressions.Modifier and Type | Method and Description |
---|---|
void |
addFunction(java.lang.String name,
java.lang.String category,
Function f)
Adds the given function to the expression system.
|
void |
addFunction(java.lang.String name,
java.lang.String category,
Function f,
boolean visible)
Adds the given function, optionally making it invisible to the various configuration helpers.
|
boolean |
isDefined(java.lang.String functionName)
Returns whether the specified function has already been defined.
|
getCategories, getFunction, getFunctionNames, getFunctionsInCategory
void addFunction(java.lang.String name, java.lang.String category, Function f) throws java.lang.IllegalArgumentException
name
- category
- f
- java.lang.IllegalArgumentException
- if the provided function name already exists.void addFunction(java.lang.String name, java.lang.String category, Function f, boolean visible) throws java.lang.IllegalArgumentException
name
- category
- f
- visible
- java.lang.IllegalArgumentException
boolean isDefined(java.lang.String functionName)
functionName
-