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

info.lostred.ruler.engine.SimpleRulesEngine Maven / Gradle / Ivy

There is a newer version: 3.4.0
Show newest version
package info.lostred.ruler.engine;

import info.lostred.ruler.domain.Result;
import info.lostred.ruler.factory.RuleFactory;
import org.springframework.expression.BeanResolver;
import org.springframework.expression.ExpressionParser;

import java.lang.reflect.Method;
import java.util.List;

/**
 * 不完全执行返回简单的规则引擎
 *
 * @author lostred
 */
public class SimpleRulesEngine extends AbstractRulesEngine {
    public SimpleRulesEngine(RuleFactory ruleFactory, String businessType,
                             BeanResolver beanResolver, ExpressionParser parser, List globalFunctions) {
        super(ruleFactory, businessType, beanResolver, parser, globalFunctions);
    }

    @Override
    public Result execute(Object object) {
        throw new UnsupportedOperationException("execute");
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy