public final class SynchronizedReportListener extends Object implements ReportListener
Constructor and Description |
---|
SynchronizedReportListener(ReportListener listener)
Creates a new
SynchronizedReportListener by wrapping the given
report listener. |
public SynchronizedReportListener(ReportListener listener)
SynchronizedReportListener
by wrapping the given
report listener.listener
- the listener to be synchronizedpublic void ruleViolationAdded(RuleViolation ruleViolation)
ruleViolationAdded
in interface ReportListener
public void metricAdded(Metric metric)
metricAdded
in interface ReportListener
Copyright © 2002-2014 InfoEther. All Rights Reserved.