Search in sources :

Example 1 with SingleRangeCheck

use of org.drools.workbench.services.verifier.core.checks.SingleRangeCheck in project drools-wb 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.workbench.services.verifier.core.cache.inspectors.RuleInspector) SingleRangeCheck(org.drools.workbench.services.verifier.core.checks.SingleRangeCheck) Rule(org.drools.workbench.services.verifier.api.client.index.Rule)

Aggregations

Rule (org.drools.workbench.services.verifier.api.client.index.Rule)1 RuleInspector (org.drools.workbench.services.verifier.core.cache.inspectors.RuleInspector)1 SingleRangeCheck (org.drools.workbench.services.verifier.core.checks.SingleRangeCheck)1