net.sourceforge.pmd.lang.dfa.report
Class ReportTree

java.lang.Object
  extended by net.sourceforge.pmd.lang.dfa.report.ReportTree
All Implemented Interfaces:
Iterable<RuleViolation>

public class ReportTree
extends Object
implements Iterable<RuleViolation>


Constructor Summary
ReportTree()
           
 
Method Summary
 void addRuleViolation(RuleViolation violation)
          Adds the RuleViolation to the tree.
 AbstractReportNode getRootNode()
           
 Iterator<RuleViolation> iterator()
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportTree

public ReportTree()
Method Detail

iterator

public Iterator<RuleViolation> iterator()
Specified by:
iterator in interface Iterable<RuleViolation>

size

public int size()

getRootNode

public AbstractReportNode getRootNode()

addRuleViolation

public void addRuleViolation(RuleViolation violation)
Adds the RuleViolation to the tree. Splits the package name. Each package, class and violation gets there own tree node.



Copyright © 2002-2015 InfoEther. All Rights Reserved.