Interface FunctionFactory
-
- All Known Subinterfaces:
ExpressionFunctionManager
- All Known Implementing Classes:
AbstractFunctionFactory
,AlarmBasedFunctionFactory
,BasicFunctionFactory
,ClientFunctionFactory
,ClientFunctionFactory.DynamicDispatchCreatorManager
,ContextDelegateFunctionFactory
,DefaultFunctionFactory
,FSQLFunctionFactory
,PropertyBasedFunctionFactory
,TagFunctionFactory
public interface FunctionFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Set<java.lang.String>
getCategories()
Return a sequence of categories to organize functions.Function
getFunction(java.lang.String name)
Look up the function with the given name.java.util.Set<java.lang.String>
getFunctionNames()
Returns a set of all the registered function names.java.util.Set<java.lang.String>
getFunctionsInCategory(java.lang.String name)
-
-
-
Method Detail
-
getFunction
Function getFunction(java.lang.String name)
Look up the function with the given name. This function will be in a state that is ready to use in an expression, meaning that it may be a cloned copy for functions that keep state.- Returns:
- The function, or null
-
getFunctionNames
java.util.Set<java.lang.String> getFunctionNames()
Returns a set of all the registered function names. Used for syntax highlighting in the designer.
-
getCategories
java.util.Set<java.lang.String> getCategories()
Return a sequence of categories to organize functions. Used to generate the popup menu in the designer. Will automatically organize into submenus based on forward-slash in path.
-
getFunctionsInCategory
java.util.Set<java.lang.String> getFunctionsInCategory(java.lang.String name)
-
-