Class Report.SuppressedViolation

java.lang.Object
net.sourceforge.pmd.reporting.Report.SuppressedViolation
Enclosing class:
Report

public static class Report.SuppressedViolation extends Object
Represents a violation, that has been suppressed.
  • Constructor Details

    • SuppressedViolation

      public SuppressedViolation(RuleViolation rv, ViolationSuppressor suppressor, String userMessage)
      Creates a suppressed violation.
      Parameters:
      rv - The violation, that has been suppressed
      suppressor - The suppressor which suppressed the violation
      userMessage - Any relevant info given by the suppressor
  • Method Details