public class CustomFEELFunction extends BaseFEELFunction
| Constructor and Description |
|---|
CustomFEELFunction(String name,
List<String> parameters,
BaseNode body) |
| Modifier and Type | Method and Description |
|---|---|
List<List<String>> |
getParameterNames()
Returns the parameter names 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 List<List<String>> getParameterNames()
FEELFunctiongetParameterNames in interface FEELFunctiongetParameterNames in class BaseFEELFunctionpublic FEELFnResult<Object> invoke(EvaluationContext ctx, Object[] params)
BaseFEELFunctioninvoke in class BaseFEELFunctionprotected boolean isCustomFunction()
isCustomFunction in class BaseFEELFunctionCopyright © 2001–2017 JBoss by Red Hat. All rights reserved.