Drools Workbench - Common Model 6.1.0.Beta3

org.drools.workbench.models.commons.backend.rule
Class GeneratorContextRuleModelVisitor

java.lang.Object
  extended by org.drools.workbench.models.commons.backend.rule.GeneratorContextRuleModelVisitor

public class GeneratorContextRuleModelVisitor
extends Object

A Rule Model Visitor to extract Interpolation Variables (Template Keys). This version also identifies whether components of a RuleModel use non-template constraints.


Constructor Summary
GeneratorContextRuleModelVisitor()
           
GeneratorContextRuleModelVisitor(IAction action, Set<InterpolationVariable> vars)
           
GeneratorContextRuleModelVisitor(IPattern pattern, Set<InterpolationVariable> vars)
           
GeneratorContextRuleModelVisitor(Set<InterpolationVariable> vars)
           
 
Method Summary
 boolean hasNonTemplateOutput()
           
 void visit(Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneratorContextRuleModelVisitor

public GeneratorContextRuleModelVisitor()

GeneratorContextRuleModelVisitor

public GeneratorContextRuleModelVisitor(Set<InterpolationVariable> vars)

GeneratorContextRuleModelVisitor

public GeneratorContextRuleModelVisitor(IPattern pattern,
                                        Set<InterpolationVariable> vars)

GeneratorContextRuleModelVisitor

public GeneratorContextRuleModelVisitor(IAction action,
                                        Set<InterpolationVariable> vars)
Method Detail

visit

public void visit(Object o)

hasNonTemplateOutput

public boolean hasNonTemplateOutput()

Drools Workbench - Common Model 6.1.0.Beta3

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.