Class ReportTree

  • All Implemented Interfaces:
    java.lang.Iterable<RuleViolation>

    public class ReportTree
    extends java.lang.Object
    implements java.lang.Iterable<RuleViolation>
    • Constructor Detail

      • ReportTree

        public ReportTree()
    • Method Detail

      • iterator

        public java.util.Iterator<RuleViolation> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<RuleViolation>
      • size

        public int size()
      • 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.