org.codehaus.mojo.clirr
Class DelegatingListener

java.lang.Object
  extended by org.codehaus.mojo.clirr.DelegatingListener
All Implemented Interfaces:
net.sf.clirr.core.DiffListener

public class DelegatingListener
extends Object
implements net.sf.clirr.core.DiffListener

Delegates to a number of listeners, filtering by severity.

Author:
Brett Porter

Constructor Summary
DelegatingListener(List<net.sf.clirr.core.DiffListener> listeners, net.sf.clirr.core.Severity minSeverity, List<Difference> ignored)
           
 
Method Summary
 void reportDiff(net.sf.clirr.core.ApiDifference apiDifference)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegatingListener

public DelegatingListener(List<net.sf.clirr.core.DiffListener> listeners,
                          net.sf.clirr.core.Severity minSeverity,
                          List<Difference> ignored)
Method Detail

start

public void start()
Specified by:
start in interface net.sf.clirr.core.DiffListener

reportDiff

public void reportDiff(net.sf.clirr.core.ApiDifference apiDifference)
Specified by:
reportDiff in interface net.sf.clirr.core.DiffListener

stop

public void stop()
Specified by:
stop in interface net.sf.clirr.core.DiffListener


Copyright © 2006-2013 Codehaus. All Rights Reserved.