Package net.sourceforge.pmd
Interface ThreadSafeReportListener
-
- All Known Subinterfaces:
AnalysisCache
- All Known Implementing Classes:
AbstractAnalysisCache,FileAnalysisCache,NoopAnalysisCache
@Deprecated public interface ThreadSafeReportListener
Deprecated.All entry points of PMD that allowed usage of this are now deprecated. This will be replaced by analysis listeners in PMD 7, a more general event handling mechanism (see #3692)Marker interface for report listeners that, being thread-safe, need not extra synchronization. Thread-safety is required only for concurrently notifying about different files. Same file violations are guaranteed to be reported serially.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidmetricAdded(Metric metric)Deprecated.seeStatisticalRulevoidruleViolationAdded(RuleViolation ruleViolation)Deprecated.A new violation has been found.
-
-
-
Method Detail
-
ruleViolationAdded
void ruleViolationAdded(RuleViolation ruleViolation)
Deprecated.A new violation has been found.- Parameters:
ruleViolation- the found violation.
-
metricAdded
@Deprecated void metricAdded(Metric metric)
Deprecated.seeStatisticalRuleA new metric point has been reported.- Parameters:
metric- the metric
-
-