Search in sources :

Example 1 with SingleRangeCheck

use of org.drools.verifier.core.checks.SingleRangeCheck in project drools by kiegroup.

the class RuleInspectorCache method reset.

public void reset() {
    for (final RuleInspector ruleInspector : ruleInspectors.values()) {
        ruleInspector.clearChecks();
    }
    ruleInspectors.clear();
    generalChecks.clear();
    for (final Rule rule : index.getRules().where(Rule.uuid().any()).select().all()) {
        add(new RuleInspector(rule, checkStorage, this, configuration));
    }
    generalChecks.add(new SingleRangeCheck(configuration, ruleInspectors.values()));
}
Also used : RuleInspector(org.drools.verifier.core.cache.inspectors.RuleInspector) SingleRangeCheck(org.drools.verifier.core.checks.SingleRangeCheck) Rule(org.drools.verifier.core.index.model.Rule)

Aggregations

RuleInspector (org.drools.verifier.core.cache.inspectors.RuleInspector)1 SingleRangeCheck (org.drools.verifier.core.checks.SingleRangeCheck)1 Rule (org.drools.verifier.core.index.model.Rule)1