public class JfireELEngine extends Object implements ExpressionEngine
Constructor and Description |
---|
JfireELEngine()
构造
|
Modifier and Type | Method and Description |
---|---|
Object |
eval(String expression,
Map<String,Object> context,
Collection<Class<?>> allowClassSet)
执行表达式
|
public Object eval(String expression, Map<String,Object> context, Collection<Class<?>> allowClassSet)
ExpressionEngine
eval
in interface ExpressionEngine
expression
- 表达式context
- 表达式上下文,用于存储表达式中所需的变量值等allowClassSet
- 允许的Class白名单Copyright © 2024. All rights reserved.