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

info.lostred.ruler.rule.AbstractRule Maven / Gradle / Ivy

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

import info.lostred.ruler.core.Collector;
import info.lostred.ruler.core.Judgement;
import info.lostred.ruler.domain.RuleDefinition;

/**
 * 抽象规则
 *
 * @author lostred
 */
public abstract class AbstractRule implements Judgement, Collector {
    /**
     * 规则定义
     */
    protected final RuleDefinition ruleDefinition;

    public AbstractRule(RuleDefinition ruleDefinition) {
        this.ruleDefinition = ruleDefinition;
    }

    public RuleDefinition getRuleDefinition() {
        return ruleDefinition;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy