public class JavaFunction extends BaseFEELFunction
FEELFunction.Param| Constructor and Description |
|---|
JavaFunction(String name,
List<FEELFunction.Param> params,
Class clazz,
Method method) |
| Modifier and Type | Method and Description |
|---|---|
List<List<FEELFunction.Param>> |
getParameters()
Returns the parameter for each supported signature.
|
FEELFnResult<Object> |
invoke(EvaluationContext ctx,
Object[] params)
this method should be overriden by custom function implementations that should be invoked reflectively
|
protected boolean |
isCustomFunction() |
String |
toString() |
getName, getSymbol, invokeReflectively, setNamepublic JavaFunction(String name, List<FEELFunction.Param> params, Class clazz, Method method)
public List<List<FEELFunction.Param>> getParameters()
FEELFunctiongetParameters in interface FEELFunctiongetParameters in class BaseFEELFunctionpublic FEELFnResult<Object> invoke(EvaluationContext ctx, Object[] params)
BaseFEELFunctioninvoke in class BaseFEELFunctionprotected boolean isCustomFunction()
isCustomFunction in class BaseFEELFunctionCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.