Class DSFunctionSet
java.lang.Object
org.yamcs.studio.autocomplete.sim.DSFunctionSet
- Direct Known Subclasses:
SimDSFunctionSet
A set of functions that can be used in the data source.
Objects of this class can be registered in the DSFunctionRegistry
and the functions will be available in the
data source language.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDSFunctionSet
(DSFunctionSetDescription functionSetDescription) Creates a new set of functions to be registered in the data source language. -
Method Summary
Modifier and TypeMethodDescriptionfinal Collection<DSFunction>
findFunctions
(String name) Returns all the functions in the set with the given name.final String
Returns the description of the function set.final Collection<String>
The names of all functions in this set.final Collection<DSFunction>
Returns all functions in the set.final String
getName()
Returns the name of the function set.
-
Field Details
-
namePattern
-
-
Constructor Details
-
DSFunctionSet
Creates a new set of functions to be registered in the data source language.- Parameters:
functionSetDescription
- the description of the function set
-
-
Method Details
-
getName
Returns the name of the function set.- Returns:
- the function set name
-
getDescription
Returns the description of the function set.- Returns:
- the function set description
-
getFunctionNames
The names of all functions in this set.- Returns:
- the function names
-
findFunctions
Returns all the functions in the set with the given name.- Parameters:
name
- the name of the function- Returns:
- the matched functions; never null
-
getFunctions
Returns all functions in the set.- Returns:
- the functions in the set
-