de.nava.informa.utils.cleaner
Interface CleanerObserverIF

All Known Implementing Classes:
CompositeObserver, PersistenceObserver

public interface CleanerObserverIF

Observers receive notification events from the cleaning engine when engine finds items matching all of the Matchers' rules.

Author:
Aleksey Gureev (spyromus@noizeramp.com)

Method Summary
 void cleaningFinished(ChannelIF channel)
          Invoked by cleanup engine when cleaning of the channel has finished.
 void cleaningStarted(ChannelIF channel)
          Invoked by cleanup engine when cleaning of the channel has started.
 void unwantedItem(ItemIF item, ChannelIF channel)
          Invoked when cleanup engine finds unwanted item.
 

Method Detail

unwantedItem

void unwantedItem(ItemIF item,
                  ChannelIF channel)
Invoked when cleanup engine finds unwanted item.

Parameters:
item - unwanted item.
channel - channel this item resides in.

cleaningStarted

void cleaningStarted(ChannelIF channel)
Invoked by cleanup engine when cleaning of the channel has started.

Parameters:
channel - channel being cleaned.

cleaningFinished

void cleaningFinished(ChannelIF channel)
Invoked by cleanup engine when cleaning of the channel has finished.

Parameters:
channel - channel being cleaned.


Copyright © 2002-2007 Niko Schmuck. All Rights Reserved.