Drools Workbench - Guided Template Editor - Client 6.1.0.Final

org.drools.workbench.screens.guided.template.client.editor
Class RuleModelPeerVariableVisitor

java.lang.Object
  extended by org.drools.workbench.screens.guided.template.client.editor.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(org.drools.workbench.models.datamodel.rule.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(org.drools.workbench.models.datamodel.rule.RuleModel model,
                                    String baseVariableName)
Method Detail

getPeerVariables

public List<RuleModelPeerVariableVisitor.ValueHolder> getPeerVariables()

Drools Workbench - Guided Template Editor - Client 6.1.0.Final

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