Package net.sourceforge.pmd.reporting
Class Report
- java.lang.Object
-
- net.sourceforge.pmd.Report
-
- net.sourceforge.pmd.reporting.Report
-
public class Report extends Report
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Report.ConfigurationError
static class
Report.GlobalReportBuilderListener
static class
Report.ProcessingError
static class
Report.ReportBuilderListener
static class
Report.SuppressedViolation
-
Field Summary
-
Fields inherited from class net.sourceforge.pmd.Report
configErrors, errors, suppressedRuleViolations, violations
-
-
Constructor Summary
Constructors Constructor Description Report()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Report
filterViolations(Predicate<RuleViolation> filter)
Creates a new report taking all the information from this report, but filtering the violations.-
Methods inherited from class net.sourceforge.pmd.Report
addConfigError, addError, addRuleViolation, buildReport, filterViolations, getConfigurationErrors, getProcessingErrors, getSuppressedViolations, getViolations, merge, union
-
-
-
-
Method Detail
-
filterViolations
public Report filterViolations(Predicate<RuleViolation> filter)
Description copied from class:Report
Creates a new report taking all the information from this report, but filtering the violations.- Overrides:
filterViolations
in classReport
- Parameters:
filter
- when true, the violation will be kept.- Returns:
- copy of this report
-
-