01: /**
02: *
03: */package org.drools.rule.builder.dialect.mvel;
04:
05: import org.drools.compiler.Dialect;
06: import org.drools.compiler.DialectRegistry;
07: import org.drools.compiler.PackageBuilderConfiguration;
08: import org.drools.lang.descr.RuleDescr;
09: import org.drools.rule.Package;
10: import org.drools.rule.builder.RuleBuildContext;
11: import org.drools.spi.DeclarationScopeResolver;
12:
13: public class InstrumentedBuildContent extends RuleBuildContext {
14: private DeclarationScopeResolver declarationScopeResolver;
15:
16: public InstrumentedBuildContent(
17: final PackageBuilderConfiguration conf, final Package pkg,
18: final RuleDescr ruleDescr, final DialectRegistry registry,
19: final Dialect dialect) {
20: super (conf, pkg, ruleDescr, registry, dialect);
21: }
22:
23: public void setDeclarationResolver(
24: final DeclarationScopeResolver declarationScopeResolver) {
25: this .declarationScopeResolver = declarationScopeResolver;
26: }
27:
28: public DeclarationScopeResolver getDeclarationResolver() {
29: return this.declarationScopeResolver;
30: }
31:
32: }
|