Search in sources :

Example 1 with ConditionInspector

use of org.drools.workbench.services.verifier.core.cache.inspectors.condition.ConditionInspector in project drools-wb by kiegroup.

the class RuleInspectorDumper method dumpCondition.

private void dumpCondition(final ConditionsInspectorMultiMap conditionsInspectorMultiMap) {
    for (final ConditionInspector conditionInspector : conditionsInspectorMultiMap.allValues()) {
        dump.append("Condition{\n");
        dump.append(conditionInspector.toHumanReadableString());
        dump.append("}\n");
    }
}
Also used : ConditionInspector(org.drools.workbench.services.verifier.core.cache.inspectors.condition.ConditionInspector)

Example 2 with ConditionInspector

use of org.drools.workbench.services.verifier.core.cache.inspectors.condition.ConditionInspector in project drools-wb by kiegroup.

the class RuleInspectorDumper method dumpConditions.

private void dumpConditions() {
    dump.append("Conditions{\n");
    for (final ConditionsInspectorMultiMap conditionsInspectorMultiMap : ruleInspector.getConditionsInspectors()) {
        dumpCondition(conditionsInspectorMultiMap);
    }
    for (final ConditionInspector conditionInspector : ruleInspector.getBrlConditionsInspectors()) {
        dump.append(conditionInspector.toHumanReadableString());
    }
    dump.append("}\n");
}
Also used : ConditionsInspectorMultiMap(org.drools.workbench.services.verifier.core.cache.inspectors.condition.ConditionsInspectorMultiMap) ConditionInspector(org.drools.workbench.services.verifier.core.cache.inspectors.condition.ConditionInspector)

Aggregations

ConditionInspector (org.drools.workbench.services.verifier.core.cache.inspectors.condition.ConditionInspector)2 ConditionsInspectorMultiMap (org.drools.workbench.services.verifier.core.cache.inspectors.condition.ConditionsInspectorMultiMap)1