Class ReportTree
- java.lang.Object
-
- net.sourceforge.pmd.lang.dfa.report.ReportTree
-
- All Implemented Interfaces:
java.lang.Iterable<RuleViolation>
public class ReportTree extends java.lang.Object implements java.lang.Iterable<RuleViolation>
-
-
Constructor Summary
Constructors Constructor Description ReportTree()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRuleViolation(RuleViolation violation)
Adds the RuleViolation to the tree.AbstractReportNode
getRootNode()
java.util.Iterator<RuleViolation>
iterator()
int
size()
-
-
-
Method Detail
-
iterator
public java.util.Iterator<RuleViolation> iterator()
- Specified by:
iterator
in interfacejava.lang.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.
-
-