Class BaseFEELFunction

    • Constructor Detail

      • BaseFEELFunction

        public BaseFEELFunction​(String name)
    • Method Detail

      • getName

        public String getName()
        Specified by:
        getName in interface org.kie.dmn.feel.runtime.FEELFunction
      • setName

        public void setName​(String name)
      • getSymbol

        public org.kie.dmn.feel.lang.Symbol getSymbol()
        Specified by:
        getSymbol in interface org.kie.dmn.feel.runtime.FEELFunction
      • invokeReflectively

        public Object invokeReflectively​(org.kie.dmn.feel.lang.EvaluationContext ctx,
                                         Object[] params)
        Specified by:
        invokeReflectively in interface org.kie.dmn.feel.runtime.FEELFunction
      • invoke

        public 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
        Parameters:
        ctx -
        params -
        Returns:
      • getParameters

        public List<List<org.kie.dmn.feel.runtime.FEELFunction.Param>> getParameters()
        Specified by:
        getParameters in interface org.kie.dmn.feel.runtime.FEELFunction
      • isCustomFunction

        protected boolean isCustomFunction()