public class ChannelsFormulaFunction extends DynamicFormulaFunction
| Constructor and Description | 
|---|
ChannelsFormulaFunction()  | 
| Modifier and Type | Method and Description | 
|---|---|
Object | 
calculate(List<Object> args)
Calculate the result of the function given the arguments. 
 | 
void | 
dispose()
Called when this instance of the formula is not needed anymore. 
 | 
List<String> | 
getArgumentNames()
The ordered list of the argument names. 
 | 
List<Class<?>> | 
getArgumentTypes()
The ordered list of the arguments type. 
 | 
String | 
getDescription()
Return the description of the function. 
 | 
String | 
getName()
Return the name of the function. 
 | 
Class<?> | 
getReturnType()
The type of the function result. 
 | 
boolean | 
isVarArgs()
Whether the function takes a variable number of arguments. 
 | 
channel, getDirectorisPurepublic boolean isVarArgs()
FormulaFunctionVariable arguments can only be at the end of the argument list, and have the same type.
public String getName()
FormulaFunctionpublic String getDescription()
FormulaFunctionpublic List<Class<?>> getArgumentTypes()
FormulaFunctionpublic List<String> getArgumentNames()
FormulaFunctionpublic Class<?> getReturnType()
FormulaFunctionpublic Object calculate(List<Object> args)
FormulaFunctionargs - the argument listpublic void dispose()
StatefulFormulaFunctiondispose in class StatefulFormulaFunctionCopyright © 2015. All rights reserved.