Implementing getFunctionDescriptors
To create a function descriptor, use the factory class com.apama.dashboard.function.FunctionDescritporFactory. Call createFunctionDescriptor, passing arguments that specify the following:
![*](bullet1.png)
The function name that will be used by the Dashboard Builder and by the implementation of
evaluateFunction![*](bullet1.png)
The argument names that will be used by the Dashboard Builder
![*](bullet1.png)
The argument names that will be used by the implementation of
evaluateFunction![*](bullet1.png)
The return type of the function (
String,
Double,
Integer, or
com.apama.dashboard.data.ITabularData)
![*](bullet1.png)
The names of the returned columns, for functions that return table data
![*](bullet1.png)
A text description of the function
Copyright © 2013
Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.