Interface ExpressionFunctionManager
- All Superinterfaces:
- FunctionFactory
- All Known Implementing Classes:
- BasicFunctionFactory,- ClientFunctionFactory.DynamicDispatchCreatorManager
This interface is used in conjunction with the 
FunctionFactory, but provides the functions to add new
 expressions.- 
Method SummaryModifier and TypeMethodDescriptionvoidaddFunction(String name, String category, Function f) Adds the given function to the expression system.voidaddFunction(String name, String category, Function f, boolean visible) Adds the given function, optionally making it invisible to the various configuration helpers.booleanReturns whether the specified function has already been defined.Methods inherited from interface com.inductiveautomation.ignition.common.expressions.FunctionFactorygetCategories, getFunction, getFunctionNames, getFunctionsInCategory
- 
Method Details- 
addFunctionAdds the given function to the expression system.- Throws:
- IllegalArgumentException- if the provided function name already exists.
 
- 
addFunctionvoid addFunction(String name, String category, Function f, boolean visible) throws IllegalArgumentException Adds the given function, optionally making it invisible to the various configuration helpers. This is useful for supporting backwards compatibility of "legacy" expression functions.- Throws:
- IllegalArgumentException
 
- 
isDefinedReturns whether the specified function has already been defined.
 
-