org.drools.reteoo
Class ReteooVisitor

java.lang.Object
  extended by org.drools.core.util.ReflectiveVisitor
      extended by org.drools.reteoo.ReteooVisitor
All Implemented Interfaces:
org.drools.Visitor

public class ReteooVisitor
extends org.drools.core.util.ReflectiveVisitor

Produces a graph in GraphViz DOT format.

See Also:
http://www.research.att.com/sw/tools/graphviz/, http://www.pixelglow.com/graphviz/

Field Summary
 
Fields inherited from class org.drools.core.util.ReflectiveVisitor
logger
 
Constructor Summary
ReteooVisitor(ReteGraph graph)
          Constructor.
 
Method Summary
 ReteGraph getGraph()
           
 BaseVertex getRootVertex()
           
 void visitBaseNode(org.drools.common.BaseNode node)
           
 void visitRete(org.drools.reteoo.Rete rete)
          Rete visits each of its ObjectTypeNodes.
 void visitReteooRuleBase(org.drools.reteoo.ReteooRuleBase ruleBase)
          RuleBaseImpl visits its Rete.
 
Methods inherited from class org.drools.core.util.ReflectiveVisitor
visit, visitObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReteooVisitor

public ReteooVisitor(ReteGraph graph)
Constructor.

Method Detail

getGraph

public ReteGraph getGraph()

getRootVertex

public BaseVertex getRootVertex()

visitReteooRuleBase

public void visitReteooRuleBase(org.drools.reteoo.ReteooRuleBase ruleBase)
RuleBaseImpl visits its Rete.


visitRete

public void visitRete(org.drools.reteoo.Rete rete)
Rete visits each of its ObjectTypeNodes.


visitBaseNode

public void visitBaseNode(org.drools.common.BaseNode node)


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