public abstract class BaseFEELFunction extends Object implements org.kie.dmn.feel.runtime.FEELFunction
| Constructor and Description |
|---|
BaseFEELFunction(String name) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
protected Object |
getParam(String paramName,
Object[] params) |
List<List<org.kie.dmn.feel.runtime.FEELFunction.Param>> |
getParameters() |
org.kie.dmn.feel.lang.Symbol |
getSymbol() |
Object |
invoke(org.kie.dmn.feel.lang.EvaluationContext ctx,
Object[] params)
this method should be overriden by custom function implementations that should be invoked reflectively
|
Object |
invokeReflectively(org.kie.dmn.feel.lang.EvaluationContext ctx,
Object[] params) |
protected boolean |
isCustomFunction() |
void |
setName(String name) |
public BaseFEELFunction(String name)
public String getName()
getName in interface org.kie.dmn.feel.runtime.FEELFunctionpublic void setName(String name)
public org.kie.dmn.feel.lang.Symbol getSymbol()
getSymbol in interface org.kie.dmn.feel.runtime.FEELFunctionpublic Object invokeReflectively(org.kie.dmn.feel.lang.EvaluationContext ctx, Object[] params)
invokeReflectively in interface org.kie.dmn.feel.runtime.FEELFunctionpublic Object invoke(org.kie.dmn.feel.lang.EvaluationContext ctx, Object[] params)
ctx - params - public List<List<org.kie.dmn.feel.runtime.FEELFunction.Param>> getParameters()
getParameters in interface org.kie.dmn.feel.runtime.FEELFunctionprotected boolean isCustomFunction()
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.