Package org.kie.dmn.core.ast
Class DMNFunctionWithReturnType
- java.lang.Object
-
- org.kie.dmn.feel.runtime.functions.BaseFEELFunction
-
- org.kie.dmn.core.ast.DMNFunctionWithReturnType
-
- All Implemented Interfaces:
org.kie.dmn.feel.runtime.FEELFunction
public class DMNFunctionWithReturnType extends org.kie.dmn.feel.runtime.functions.BaseFEELFunctionFEEL does not define the return type for function definition in its grammar. While on FEEL layer the type could be inferred, at DMN layer this is governed in BKM case by the-
-
Constructor Summary
Constructors Constructor Description DMNFunctionWithReturnType(org.kie.dmn.feel.runtime.FEELFunction wrapped, org.kie.dmn.api.core.DMNType returnType, DMNMessageManager msgMgr, org.kie.dmn.api.core.ast.BusinessKnowledgeModelNode node)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()List<List<org.kie.dmn.feel.runtime.FEELFunction.Param>>getParameters()org.kie.dmn.feel.lang.SymbolgetSymbol()ObjectinvokeReflectively(org.kie.dmn.feel.lang.EvaluationContext ctx, Object[] params)StringtoString()
-
-
-
Constructor Detail
-
DMNFunctionWithReturnType
public DMNFunctionWithReturnType(org.kie.dmn.feel.runtime.FEELFunction wrapped, org.kie.dmn.api.core.DMNType returnType, DMNMessageManager msgMgr, org.kie.dmn.api.core.ast.BusinessKnowledgeModelNode node)
-
-
Method Detail
-
invokeReflectively
@GwtIncompatible public Object invokeReflectively(org.kie.dmn.feel.lang.EvaluationContext ctx, Object[] params)
- Specified by:
invokeReflectivelyin interfaceorg.kie.dmn.feel.runtime.FEELFunction- Overrides:
invokeReflectivelyin classorg.kie.dmn.feel.runtime.functions.BaseFEELFunction
-
getSymbol
public org.kie.dmn.feel.lang.Symbol getSymbol()
- Specified by:
getSymbolin interfaceorg.kie.dmn.feel.runtime.FEELFunction- Overrides:
getSymbolin classorg.kie.dmn.feel.runtime.functions.BaseFEELFunction
-
getParameters
public List<List<org.kie.dmn.feel.runtime.FEELFunction.Param>> getParameters()
- Specified by:
getParametersin interfaceorg.kie.dmn.feel.runtime.FEELFunction- Overrides:
getParametersin classorg.kie.dmn.feel.runtime.functions.BaseFEELFunction
-
getName
public String getName()
- Specified by:
getNamein interfaceorg.kie.dmn.feel.runtime.FEELFunction- Overrides:
getNamein classorg.kie.dmn.feel.runtime.functions.BaseFEELFunction
-
-