class FeelEngineApi extends AnyRef
The API to interact with the FEEL engine.
- Alphabetic
- By Inheritance
- FeelEngineApi
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new FeelEngineApi(engine: FeelEngine)
- engine
the FEEL engine to interact with
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def evaluate(expression: ParsedExpression, variables: Map[String, AnyRef]): EvaluationResult
Evaluates a parsed expression with the given context.
Evaluates a parsed expression with the given context.
- expression
the parsed expression to evaluate
- variables
the variable context for the evaluation.
- returns
the result of the evaluation as EvaluationResult
- def evaluate(expression: ParsedExpression, variables: Map[String, Any] = Map()): EvaluationResult
Evaluates a parsed expression with the given context.
Evaluates a parsed expression with the given context.
- expression
the parsed expression to evaluate
- variables
the variable context for the evaluation
- returns
the result of the evaluation as EvaluationResult
- def evaluate(expression: ParsedExpression, context: Context): EvaluationResult
Evaluates a parsed expression with the given context.
Evaluates a parsed expression with the given context.
- expression
the parsed expression to evaluate
- context
the context for the evaluation
- returns
the result of the evaluation as EvaluationResult
- def evaluateExpression(expression: String, variables: Map[String, AnyRef]): EvaluationResult
Evaluates an FEEL expression with the given context.
Evaluates an FEEL expression with the given context. This is a shortcut and skips the explicit parsing step before the evaluation.
- expression
the expression to evaluate
- variables
the variable context for the evaluation
- returns
the result of the evaluation as EvaluationResult
- def evaluateExpression(expression: String, variables: Map[String, Any] = Map()): EvaluationResult
Evaluates an FEEL expression with the given context.
Evaluates an FEEL expression with the given context. This is a shortcut and skips the explicit parsing step before the evaluation.
- expression
the expression to evaluate
- variables
the variable context for the evaluation
- returns
the result of the evaluation as EvaluationResult
- def evaluateExpression(expression: String, context: Context): EvaluationResult
Evaluates an FEEL expression with the given context.
Evaluates an FEEL expression with the given context. This is a shortcut and skips the explicit parsing step before the evaluation.
- expression
the expression to evaluate
- context
the context for the evaluation
- returns
the result of the evaluation as EvaluationResult
- def evaluateUnaryTests(expression: String, inputValue: AnyRef, variables: Map[String, AnyRef]): EvaluationResult
Evaluates an FEEL unary-tests expression with the given input value and context.
Evaluates an FEEL unary-tests expression with the given input value and context. This is a shortcut and skips the explicit parsing step before the evaluation.
- expression
the expression to evaluate
- inputValue
the input value for the evaluation of the unary-tests
- variables
the variable context for the evaluation
- returns
the result of the evaluation as EvaluationResult
- def evaluateUnaryTests(expression: String, inputValue: Any, variables: Map[String, Any] = Map()): EvaluationResult
Evaluates an FEEL unary-tests expression with the given input value and context.
Evaluates an FEEL unary-tests expression with the given input value and context. This is a shortcut and skips the explicit parsing step before the evaluation.
- expression
the expression to evaluate
- inputValue
the input value for the evaluation of the unary-tests
- variables
the variable context for the evaluation
- returns
the result of the evaluation as EvaluationResult
- def evaluateUnaryTests(expression: String, inputValue: Any, context: Context): EvaluationResult
Evaluates an FEEL unary-tests expression with the given input value and context.
Evaluates an FEEL unary-tests expression with the given input value and context. This is a shortcut and skips the explicit parsing step before the evaluation.
- expression
the expression to evaluate
- inputValue
the input value for the evaluation of the unary-tests
- context
the context for the evaluation
- returns
the result of the evaluation as EvaluationResult
- def evaluateWithInput(expression: ParsedExpression, inputValue: Any, variables: Map[String, AnyRef]): EvaluationResult
Evaluates a parsed unary-tests expression with the given input value and context.
Evaluates a parsed unary-tests expression with the given input value and context.
- expression
the parsed expression to evaluate
- inputValue
the input value for the evaluation of the unary-tests
- variables
the variable context for the evaluation
- returns
the result of the evaluation as EvaluationResult
- def evaluateWithInput(expression: ParsedExpression, inputValue: Any, variables: Map[String, Any] = Map()): EvaluationResult
Evaluates a parsed unary-tests expression with the given input value and context.
Evaluates a parsed unary-tests expression with the given input value and context.
- expression
the parsed expression to evaluate
- inputValue
the input value for the evaluation of the unary-tests
- variables
the variable context for the evaluation
- returns
the result of the evaluation as EvaluationResult
- def evaluateWithInput(expression: ParsedExpression, inputValue: Any, context: Context): EvaluationResult
Evaluates a parsed unary-tests expression with the given input value and context.
Evaluates a parsed unary-tests expression with the given input value and context.
- expression
the parsed expression to evaluate
- inputValue
the input value for the evaluation of the unary-tests
- context
the context for the evaluation
- returns
the result of the evaluation as EvaluationResult
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def parseExpression(expression: String): ParseResult
Parses an FEEL expression.
Parses an FEEL expression.
- expression
the expression to parse
- returns
the result of the parsing as ParseResult
- def parseUnaryTests(expression: String): ParseResult
Parses an FEEL unary-tests expression.
Parses an FEEL unary-tests expression.
- expression
the expression to parse
- returns
the result of the parsing as ParseResult
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)