Uses of Interface
org.kie.dmn.feel.lang.EvaluationContext
-
-
Uses of EvaluationContext in org.kie.dmn.feel
Methods in org.kie.dmn.feel with parameters of type EvaluationContext Modifier and Type Method Description ObjectFEEL. evaluate(String expression, EvaluationContext ctx)Evaluates the given FEEL expression using the given EvaluationContext, and returns the resultObjectFEEL. evaluate(CompiledExpression expr, EvaluationContext ctx)Evaluates the given compiled FEEL expression using the given EvaluationContext, and returns the result -
Uses of EvaluationContext in org.kie.dmn.feel.codegen.feel11
Methods in org.kie.dmn.feel.codegen.feel11 that return types with arguments of type EvaluationContext Modifier and Type Method Description Function<EvaluationContext,Object>CompiledFEELSupport.IterationContextCompiled. getExpression()Function<EvaluationContext,Object>CompiledFEELSupport.IterationContextCompiled. getName()Function<EvaluationContext,Object>CompiledFEELSupport.IterationContextCompiled. getRangeEndExpr()Methods in org.kie.dmn.feel.codegen.feel11 with parameters of type EvaluationContext Modifier and Type Method Description ObjectProcessedExpression. apply(EvaluationContext evaluationContext)List<UnaryTest>ProcessedUnaryTest. apply(EvaluationContext evaluationContext)static BooleanCompiledFEELSemanticMappings. between(EvaluationContext ctx, Object value, Object start, Object end)static BooleanCompiledFEELSemanticMappings. coerceToBoolean(EvaluationContext ctx, Object value)static BooleanCompiledFEELSemanticMappings. exists(EvaluationContext ctx, Object tests, Object target)Returns true when at least one of the elements of the list matches the target.static CompiledFEELSupport.ForBuilderCompiledFEELSupport. ffor(EvaluationContext ctx)static CompiledFEELSupport.FilterBuilderCompiledFEELSupport. filter(EvaluationContext ctx, Object value)static ObjectCompiledFEELSemanticMappings. getValue(EvaluationContext ctx, String varName)static BooleanCompiledFEELSemanticMappings. gracefulEq(EvaluationContext ctx, Object left, Object right)static BooleanCompiledFEELSemanticMappings. includes(EvaluationContext ctx, Object range, Object param)protected ObjectCompiledCustomFEELFunction. internalInvoke(EvaluationContext ctx)static ObjectCompiledFEELSupport. invoke(EvaluationContext feelExprCtx, Object function, Object params)static BigDecimalCompiledFEELSupport. negate(EvaluationContext feelExprCtx, Object value)static BooleanCompiledFEELSemanticMappings. notExists(EvaluationContext ctx, List tests, Object target)Implements a negated exists.static ObjectCompiledFEELSupport. notifyCompilationError(EvaluationContext feelExprCtx, String message)static CompiledFEELSupport.ContextBuilderCompiledFEELSupport. openContext(EvaluationContext ctx)static CompiledFEELSupport.PathBuilderCompiledFEELSupport. path(EvaluationContext ctx, Object value)static BigDecimalCompiledFEELSupport. positive(EvaluationContext feelExprCtx, Object value)static CompiledFEELSupport.QuantBuilderCompiledFEELSupport. quant(QuantifiedExpressionNode.Quantifier quantOp, EvaluationContext ctx)static RangeImplCompiledFEELSemanticMappings. range(EvaluationContext ctx, Range.RangeBoundary lowBoundary, Object lowEndPoint, Object highEndPoint, Range.RangeBoundary highBoundary)Represents a [n..m] constructMethod parameters in org.kie.dmn.feel.codegen.feel11 with type arguments of type EvaluationContext Modifier and Type Method Description ObjectCompiledFEELSupport.ForBuilder. rreturn(Function<EvaluationContext,Object> expression)ObjectCompiledFEELSupport.QuantBuilder. satisfies(Function<EvaluationContext,Object> expression)ObjectCompiledFEELSupport.FilterBuilder. with(Function<EvaluationContext,Object> filterExpression)CompiledFEELSupport.ForBuilderCompiledFEELSupport.ForBuilder. with(Function<EvaluationContext,Object> nameExpression, Function<EvaluationContext,Object> iterationExpression)CompiledFEELSupport.ForBuilderCompiledFEELSupport.ForBuilder. with(Function<EvaluationContext,Object> nameExpression, Function<EvaluationContext,Object> iterationExpression, Function<EvaluationContext,Object> rangeEndExpression)CompiledFEELSupport.QuantBuilderCompiledFEELSupport.QuantBuilder. with(Function<EvaluationContext,Object> nameExpression, Function<EvaluationContext,Object> iterationExpression)Constructors in org.kie.dmn.feel.codegen.feel11 with parameters of type EvaluationContext Constructor Description CompiledCustomFEELFunction(String name, List<FEELFunction.Param> parameters, Function<EvaluationContext,Object> body, EvaluationContext ctx)ContextBuilder(EvaluationContext evaluationContext)FilterBuilder(EvaluationContext evaluationContext, Object value)ForBuilder(EvaluationContext evaluationContext)PathBuilder(EvaluationContext evaluationContext, Object value)QuantBuilder(QuantifiedExpressionNode.Quantifier quantOp, EvaluationContext evaluationContext)Constructor parameters in org.kie.dmn.feel.codegen.feel11 with type arguments of type EvaluationContext Constructor Description CompiledCustomFEELFunction(String name, List<FEELFunction.Param> parameters, Function<EvaluationContext,Object> body, EvaluationContext ctx)IterationContextCompiled(Function<EvaluationContext,Object> name, Function<EvaluationContext,Object> expression)IterationContextCompiled(Function<EvaluationContext,Object> name, Function<EvaluationContext,Object> expression, Function<EvaluationContext,Object> rangeEndExpr) -
Uses of EvaluationContext in org.kie.dmn.feel.lang
Methods in org.kie.dmn.feel.lang that return EvaluationContext Modifier and Type Method Description EvaluationContextEvaluationContext. current() -
Uses of EvaluationContext in org.kie.dmn.feel.lang.ast
-
Uses of EvaluationContext in org.kie.dmn.feel.lang.impl
Classes in org.kie.dmn.feel.lang.impl that implement EvaluationContext Modifier and Type Class Description classEvaluationContextImplclassSilentWrappingEvaluationContextImplThis EvaluationContext should only be used to "try" evaluationsMethods in org.kie.dmn.feel.lang.impl that return EvaluationContext Modifier and Type Method Description EvaluationContextEvaluationContextImpl. current()EvaluationContextSilentWrappingEvaluationContextImpl. current()Methods in org.kie.dmn.feel.lang.impl with parameters of type EvaluationContext Modifier and Type Method Description ObjectCompiledExecutableExpression. apply(EvaluationContext evaluationContext)ObjectCompiledExpressionImpl. apply(EvaluationContext evaluationContext)ObjectInterpretedExecutableExpression. apply(EvaluationContext evaluationContext)List<UnaryTest>UnaryTestInterpretedExecutableExpression. apply(EvaluationContext evaluationContext)ObjectFEELImpl. evaluate(String expression, EvaluationContext ctx)ObjectFEELImpl. evaluate(CompiledExpression expr, EvaluationContext ctx)Constructors in org.kie.dmn.feel.lang.impl with parameters of type EvaluationContext Constructor Description SilentWrappingEvaluationContextImpl(EvaluationContext wrapped)This EvaluationContext should only be used to "try" evaluations -
Uses of EvaluationContext in org.kie.dmn.feel.runtime
Methods in org.kie.dmn.feel.runtime with parameters of type EvaluationContext Modifier and Type Method Description BooleanUnaryTestImpl. apply(EvaluationContext ctx, Object obj)ObjectFEELFunction. invokeReflectively(EvaluationContext ctx, Object[] params)Invokes the function reflectively based on the parameters -
Uses of EvaluationContext in org.kie.dmn.feel.runtime.decisiontables
Methods in org.kie.dmn.feel.runtime.decisiontables with parameters of type EvaluationContext Modifier and Type Method Description static ObjectHitPolicy. any(EvaluationContext ctx, DecisionTable dt, List<? extends Indexed> matches, List<Object> results)Any – multiple rules can match, but they all have the same outputstatic Map<Integer,String>DecisionTableImpl. checkResults(List<? extends DecisionTable.OutputClause> outputs, EvaluationContext ctx, List<? extends Indexed> matches, List<Object> results)static ObjectHitPolicy. countCollect(EvaluationContext ctx, DecisionTable dt, List<? extends Indexed> matches, List<Object> results)C# – return the count of the outputsObjectHitPolicy.HitPolicyDTI. dti(EvaluationContext ctx, DecisionTable dt, List<? extends Indexed> matches, List<Object> results)FEELFnResult<Object>DecisionTableImpl. evaluate(EvaluationContext ctx, Object[] params)Evaluates this decision table returning the resultstatic ObjectHitPolicy. first(EvaluationContext ctx, DecisionTable dt, List<? extends Indexed> matches, List<Object> results)First – return the first match in rule orderstatic ObjectHitPolicy. generalizedCollect(EvaluationContext ctx, DecisionTable dt, List<?> results, Function<Stream<Object>,Object> resultCollector)static ObjectHitPolicy. maxCollect(EvaluationContext ctx, DecisionTable dt, List<? extends Indexed> matches, List<Object> results)C> – return the maximum-valued outputstatic ObjectHitPolicy. minCollect(EvaluationContext ctx, DecisionTable dt, List<? extends Indexed> matches, List<Object> results)C< – return the minimum-valued outputstatic ObjectHitPolicy. notImplemented(EvaluationContext ctx, DecisionTable dt, List<? extends Indexed> matches, List<Object> results)static ObjectHitPolicy. outputOrder(EvaluationContext ctx, DecisionTable dt, List<? extends Indexed> matches, List<Object> results)Output order – return a list of outputs in the order of the output values liststatic ObjectHitPolicy. priority(EvaluationContext ctx, DecisionTable dt, List<? extends Indexed> matches, List<Object> results)Priority – multiple rules can match, with different outputs.static ObjectHitPolicy. ruleOrder(EvaluationContext ctx, DecisionTable dt, List<? extends Indexed> matches, List<Object> results)Rule order – return a list of outputs in rule order Collect – return a list of the outputs in arbitrary orderstatic ObjectHitPolicy. sumCollect(EvaluationContext ctx, DecisionTable dt, List<? extends Indexed> matches, List<Object> results)C+ – return the sum of the outputsstatic ObjectHitPolicy. unique(EvaluationContext ctx, DecisionTable dt, List<? extends Indexed> matches, List<Object> results)Unique – only a single rule can be matched -
Uses of EvaluationContext in org.kie.dmn.feel.runtime.functions
Fields in org.kie.dmn.feel.runtime.functions declared as EvaluationContext Modifier and Type Field Description protected EvaluationContextAbstractCustomFEELFunction. closureCtxMethods in org.kie.dmn.feel.runtime.functions that return EvaluationContext Modifier and Type Method Description EvaluationContextAbstractCustomFEELFunction. getEvaluationContext()Methods in org.kie.dmn.feel.runtime.functions with parameters of type EvaluationContext Modifier and Type Method Description protected abstract ObjectAbstractCustomFEELFunction. internalInvoke(EvaluationContext ctx)protected ObjectCustomFEELFunction. internalInvoke(EvaluationContext ctx)FEELFnResult<Object>AbstractCustomFEELFunction. invoke(EvaluationContext ctx, Object[] params)ObjectBaseFEELFunction. invoke(EvaluationContext ctx, Object[] params)this method should be overriden by custom function implementations that should be invoked reflectivelyObjectDecisionTableFunction. invoke(EvaluationContext ctx, Object outputs, Object inputExpressionList, List<?> inputValuesList, Object outputValues, List<List> ruleList, String hitPolicy, Object defaultOutputValue)FEELFnResult<Object>DTInvokerFunction. invoke(EvaluationContext ctx, Object[] params)FEELFnResult<Object>JavaFunction. invoke(EvaluationContext ctx, Object[] params)FEELFnResult<List<Object>>SortFunction. invoke(EvaluationContext ctx, List list, FEELFunction function)ObjectBaseFEELFunction. invokeReflectively(EvaluationContext ctx, Object[] params)protected List<List<UnaryTest>>DecisionTableFunction. objectToUnaryTestList(EvaluationContext ctx, List<List<Object>> values)Constructors in org.kie.dmn.feel.runtime.functions with parameters of type EvaluationContext Constructor Description AbstractCustomFEELFunction(String name, List<FEELFunction.Param> parameters, B body, EvaluationContext ctx)CustomFEELFunction(String name, List<FEELFunction.Param> parameters, BaseNode body, EvaluationContext evaluationContext) -
Uses of EvaluationContext in org.kie.dmn.feel.runtime.functions.extended
Methods in org.kie.dmn.feel.runtime.functions.extended with parameters of type EvaluationContext Modifier and Type Method Description FEELFnResult<Object>InvokeFunction. invoke(EvaluationContext ctx, String namespace, String modelName, String decisionName, Map<String,Object> parameters)Deprecated. -
Uses of EvaluationContext in org.kie.dmn.feel.util
Methods in org.kie.dmn.feel.util with parameters of type EvaluationContext Modifier and Type Method Description static BooleanEvalHelper. compare(Object left, Object right, EvaluationContext ctx, BiPredicate<Comparable,Comparable> op)Compares left and right operands using the given predicate and returns TRUE/FALSE accordinglystatic BooleanEvalHelper. isEqual(Object left, Object right, EvaluationContext ctx)Compares left and right for equality applying FEEL semantics to specific data types
-