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) |
void |
ruleViolationAdded(RuleViolation ruleViolation) |
public SynchronizedReportListener(ReportListener listener)
SynchronizedReportListener by wrapping the given
report listener.listener - the listener to be synchronizedpublic void ruleViolationAdded(RuleViolation ruleViolation)
ruleViolationAdded in interface ReportListenerpublic void metricAdded(Metric metric)
metricAdded in interface ReportListenerCopyright © 2002–2014 InfoEther. All rights reserved.