public abstract class AbstractCustomFEELFunction<B> extends BaseFEELFunction
BaseFEELFunction.Param| Constructor and Description |
|---|
AbstractCustomFEELFunction(String name,
List<BaseFEELFunction.Param> parameters,
B body) |
| Modifier and Type | Method and Description |
|---|---|
List<List<String>> |
getParameterNames()
Returns the parameter names for each supported signature.
|
protected abstract Object |
internalInvoke(EvaluationContext ctx) |
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, setNameprotected final B body
public AbstractCustomFEELFunction(String name, List<BaseFEELFunction.Param> parameters, B body)
public FEELFnResult<Object> invoke(EvaluationContext ctx, Object[] params)
BaseFEELFunctioninvoke in class BaseFEELFunctionprotected abstract Object internalInvoke(EvaluationContext ctx)
public List<List<String>> getParameterNames()
FEELFunctiongetParameterNames in interface FEELFunctiongetParameterNames in class BaseFEELFunctionprotected boolean isCustomFunction()
isCustomFunction in class BaseFEELFunctionCopyright © 2001–2019 JBoss by Red Hat. All rights reserved.