| |
|
| java.lang.Object de.nava.informa.utils.poller.PersistenceObserver
PersistenceObserver | public class PersistenceObserver implements PollerObserverIF(Code) | | Watches for event about new items and calls given manager to create items in channels.
author: Aleksey Gureev (spyromus@noizeramp.com) |
channelChanged | public void channelChanged(ChannelIF channel)(Code) | | Invoked when Poller detected changes in channel information (title and etc).
Parameters: channel - channel. |
channelErrored | public void channelErrored(ChannelIF channel, Exception e)(Code) | | Invoked by Poller when poller of the channel failed.
Parameters: channel - channel. Parameters: e - original cause of failure. |
itemFound | final public void itemFound(ItemIF item, ChannelIF channel)(Code) | | Invoked by Poller when new item is approved for addition. Item is transient
and should be added to specified channel.
Parameters: item - item added. Parameters: channel - destination channel. |
pollFinished | public void pollFinished(ChannelIF channel)(Code) | | Invoked by Poller when checking of the channel finished.
Parameters: channel - channel. |
pollStarted | public void pollStarted(ChannelIF channel)(Code) | | Invoked by Poller when checking of the channel started.
Parameters: channel - channel. |
|
|
|