public class MvelProcessor extends PatternProcessor
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Object> |
executionContext |
protected org.mvel2.ParserContext |
parserContext |
pattern| Constructor and Description |
|---|
MvelProcessor() |
| Modifier and Type | Method and Description |
|---|---|
Object |
define(String name,
Object value)
Define execution context variable
|
<T> T |
evaluate(String expression) |
protected Map<String,Object> |
executionContext()
Execution context which could be reset with
reset() |
void |
importPackage(String packageName) |
protected org.mvel2.ParserContext |
parserContext()
Parser context used for evaluation.
|
void |
reset()
Reset execution context variables
|
protected String |
resolve(Matcher matcher) |
process, processpublic void importPackage(String packageName)
public Object define(String name, Object value)
name - value - public void reset()
protected String resolve(Matcher matcher)
resolve in class PatternProcessorpublic <T> T evaluate(String expression)
protected Map<String,Object> executionContext()
reset()Copyright © 2021. All rights reserved.