net.sf.clirr.event
Interface DiffListener

All Known Implementing Classes:
DiffListenerAdapter

public interface DiffListener

Listener for API differences.

Author:
lkuehne

Method Summary
 void reportDiff(ApiDifference difference)
          Called when an API difference has been detected.
 void start()
          Called when the listener should start listening.
 void stop()
          Called when the listener should stop listening.
 

Method Detail

start

public void start()
Called when the listener should start listening. This gives implementations a chance to write some header info.


reportDiff

public void reportDiff(ApiDifference difference)
Called when an API difference has been detected.

Parameters:
difference - the difference that has been detected.

stop

public void stop()
Called when the listener should stop listening. This gives implementations a chance to write footer info, close files, etc.



Copyright © 2003-2004 Lars Kühne. All Rights Reserved.