com.ql.util.express.IExpressContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of QLExpress Show documentation
Show all versions of QLExpress Show documentation
QLExpress is a powerful, lightweight, dynamic language for the Java platform aimed at improving developers’ productivity in different business scenes.
The newest version!
package com.ql.util.express;
/**
* 表达式计算的数据注入接口
*
* @author [email protected]
*/
public interface IExpressContext {
/**
* 根据名称从属性列表中提取属性值。如果表达式中用到了Spring的对象,也是通过此方法获取
*
* @param key 属性名称
* @return
*/
V get(Object key);
/**
* 表达式计算的结果可以设置回调用系统,例如 userId = 3 + 4
*
* @param name 属性名称
* @param object 属性值
*/
V put(K name, V object);
}