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

com.github.liuyehcf.framework.expression.engine.utils.OptionUtils Maven / Gradle / Ivy

package com.github.liuyehcf.framework.expression.engine.utils;

import com.github.liuyehcf.framework.expression.engine.ExpressionEngine;
import com.github.liuyehcf.framework.expression.engine.Option;

/**
 * @author hechenfeng
 * @date 2018/9/30
 */
public class OptionUtils {
    public static boolean isCache() {
        return ExpressionEngine.getOptions().get(Option.USING_CACHE);
    }

    public static boolean isOptimize() {
        return ExpressionEngine.getOptions().get(Option.OPTIMIZE_CODE);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy