org.drools.ide.common.client.modeldriven.brl.templates
Class RuleModelPeerVariableVisitor

java.lang.Object
  extended by org.drools.ide.common.client.modeldriven.brl.templates.RuleModelPeerVariableVisitor

public class RuleModelPeerVariableVisitor
extends Object

A Rule Model Visitor to extract InterpolationVariables that are defined on the same Pattern or Action as the provided base variable. This is used to get a list of InterpolationVariables (or literal values) used to drive dependent enumerations.


Nested Class Summary
static class RuleModelPeerVariableVisitor.ValueHolder
           
 
Constructor Summary
RuleModelPeerVariableVisitor(RuleModel model, String baseVariableName)
           
 
Method Summary
 List<RuleModelPeerVariableVisitor.ValueHolder> getPeerVariables()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleModelPeerVariableVisitor

public RuleModelPeerVariableVisitor(RuleModel model,
                                    String baseVariableName)
Method Detail

getPeerVariables

public List<RuleModelPeerVariableVisitor.ValueHolder> getPeerVariables()


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