use of org.drools.core.base.evaluators.EvaluatorRegistry in project drools by kiegroup.
the class KnowledgeBuilderConfigurationImpl method buildEvaluatorRegistry.
private void buildEvaluatorRegistry() {
this.evaluatorRegistry = new EvaluatorRegistry(getClassLoader());
Map<String, String> temp = new HashMap<String, String>();
this.chainedProperties.mapStartsWith(temp, EvaluatorOption.PROPERTY_NAME, true);
for (Entry<String, String> e : temp.entrySet()) {
String key = e.getKey();
// a rule in Eclipse plugin using old runtime)
if ("drools.evaluator.equality".equals(key) || ("drools.evaluator.comparable".equals(key))) {
continue;
}
this.evaluatorRegistry.addEvaluatorDefinition(e.getValue());
}
}
use of org.drools.core.base.evaluators.EvaluatorRegistry in project drools by kiegroup.
the class DRLExprParserTest method setUp.
protected void setUp() throws Exception {
super.setUp();
new EvaluatorRegistry();
this.parser = new DrlExprParser(LanguageLevelOption.DRL6);
}
Aggregations