net.sf.clirr.core
Interface DiffListener

All Known Implementing Classes:
DiffListenerAdapter, PlainDiffListener, XmlDiffListener

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

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


reportDiff

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

Parameters:
difference - the difference that has been detected.

stop

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



Copyright © 2003-2010 Lars K??hne. All Rights Reserved.