public final class SynchronizedReportListener extends Object implements ReportListener
| Constructor and Description |
|---|
SynchronizedReportListener(ReportListener listener)
Creates a new
SynchronizedReportListener by wrapping the given
report listener. |
| Modifier and Type | Method and Description |
|---|---|
void |
metricAdded(Metric metric)
A new metric point has been reported.
|
void |
ruleViolationAdded(RuleViolation ruleViolation)
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 ReportListenerruleViolation - the found violation.public void metricAdded(Metric metric)
metricAdded in interface ReportListenermetric - the metricCopyright © 2002–2016 InfoEther. All rights reserved.