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 java.lang.Object
implements net.sf.clirr.core.DiffListener

Delegates to a number of listeners, filtering by severity.

Author:
Brett Porter

Constructor Summary
DelegatingListener(java.util.List listeners, net.sf.clirr.core.Severity minSeverity)
           
 
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(java.util.List listeners,
                          net.sf.clirr.core.Severity minSeverity)
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-2009. All Rights Reserved.