01: package org.drools.rule.builder.dialect.mvel;
02:
03: import org.drools.lang.descr.RuleDescr;
04: import org.drools.rule.builder.RuleBuildContext;
05: import org.drools.rule.builder.RuleClassBuilder;
06:
07: public class MVELRuleClassBuilder implements RuleClassBuilder {
08:
09: /**
10: * No real building for now.
11: * Simply to update ruleDescr.setConsequenceOffset
12: */
13: public void buildRule(RuleBuildContext context) {
14: final MVELDialect dialect = (MVELDialect) context.getDialect();
15:
16: final String lineSeparator = System
17: .getProperty("line.separator");
18:
19: final StringBuffer buffer = new StringBuffer();
20:
21: final RuleDescr ruleDescr = context.getRuleDescr();
22:
23: ruleDescr.setConsequenceOffset(0);
24: }
25: }
|