@Deprecated public final class SynchronizedReportListener extends Object implements ThreadSafeReportListener
| Constructor and Description |
|---|
SynchronizedReportListener(ReportListener listener)
Deprecated.
Creates a new
SynchronizedReportListener by wrapping the given
report listener. |
| Modifier and Type | Method and Description |
|---|---|
void |
metricAdded(Metric metric)
Deprecated.
A new metric point has been reported.
|
void |
ruleViolationAdded(RuleViolation ruleViolation)
Deprecated.
A new violation has been found.
|
public SynchronizedReportListener(ReportListener listener)
SynchronizedReportListener by wrapping the given
report listener.listener - the listener to be synchronizedpublic void ruleViolationAdded(RuleViolation ruleViolation)
ruleViolationAdded in interface ReportListenerruleViolationAdded in interface ThreadSafeReportListenerruleViolation - the found violation.public void metricAdded(Metric metric)
metricAdded in interface ReportListenermetricAdded in interface ThreadSafeReportListenermetric - the metricCopyright © 2002–2017 PMD. All rights reserved.