Class DSFunction
java.lang.Object
org.yamcs.studio.autocomplete.sim.DSFunction
- All Implemented Interfaces:
Comparable<DSFunction>
Definition for a function that can be integrated in the data source language.
-
Constructor Summary
ConstructorDescriptionDSFunction
(String name, Class<?> returnType, boolean isPure, boolean isVarArgs) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addArgument
(String name, Class<?> type) void
addPolymorphicFunction
(DSFunction function) int
compareTo
(DSFunction arg0) boolean
getName()
int
Class<?>
int
hashCode()
boolean
boolean
isPure()
boolean
void
setDescription
(String description) void
setTooltip
(String tooltip)
-
Constructor Details
-
DSFunction
-
-
Method Details
-
addPolymorphicFunction
-
isPolymorphic
public boolean isPolymorphic() -
addArgument
-
getNbArgs
public int getNbArgs() -
setDescription
-
getDescription
-
getTooltip
-
setTooltip
-
getName
-
getReturnType
-
isPure
public boolean isPure() -
isVarArgs
public boolean isVarArgs() -
getArgumentNames
-
getArgumentTypes
-
getPolymorphicFunctions
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<DSFunction>
-