| Constructor and Description |
|---|
FEELImpl() |
| Modifier and Type | Method and Description |
|---|---|
CompiledExpression |
compile(String expression,
CompilerContext ctx)
Compiles the string expression using the given
compiler context.
|
Object |
evaluate(CompiledExpression expr,
Map<String,Object> inputVariables)
Evaluates the given compiled FEEL expression using the
given input variables, and returns the result
|
Object |
evaluate(String expression)
Evaluates the given FEEL expression and returns
the result
|
Object |
evaluate(String expression,
Map<String,Object> inputVariables)
Evaluates the given FEEL expression using the
given input variables, and returns the result
|
CompilerContext |
newCompilerContext()
Factory method to create a new compiler context
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnewInstancepublic CompilerContext newCompilerContext()
FEELnewCompilerContext in interface FEELpublic CompiledExpression compile(String expression, CompilerContext ctx)
FEELpublic Object evaluate(String expression)
FEELpublic Object evaluate(String expression, Map<String,Object> inputVariables)
FEELevaluate in interface FEELexpression - a FEEL expressioninputVariables - a map of input Variables. The keys
on the map are the variable names,
that need to follow the naming rules
for the FEEL language. The values on
the map are the corresponding values
for the variables. It is completely
fine to use a previously returned FEEL
context as inputVariables.public Object evaluate(CompiledExpression expr, Map<String,Object> inputVariables)
FEELevaluate in interface FEELexpr - a FEEL expressioninputVariables - a map of input Variables. The keys
on the map are the variable names,
that need to follow the naming rules
for the FEEL language. The values on
the map are the corresponding values
for the variables. It is completely
fine to use a previously returned FEEL
context as inputVariables.Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.