All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ql.util.express.IExpressContext Maven / Gradle / Ivy

Go to download

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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy