com.johnmunsch.rss
Class ChannelStoreEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.johnmunsch.rss.ChannelStoreEvent
All Implemented Interfaces:
java.io.Serializable

public class ChannelStoreEvent
extends java.util.EventObject

Author:
JMunsch
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ChannelStoreEvent(java.lang.Object source)
          Creates new ChannelStoreEvent
ChannelStoreEvent(java.lang.Object source, java.util.Collection _pending)
           
 
Method Summary
 java.util.Collection getPending()
          Get the list of items which we are about to add or have retrieved.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChannelStoreEvent

public ChannelStoreEvent(java.lang.Object source)
Creates new ChannelStoreEvent


ChannelStoreEvent

public ChannelStoreEvent(java.lang.Object source,
                         java.util.Collection _pending)
Method Detail

getPending

public java.util.Collection getPending()
Get the list of items which we are about to add or have retrieved. If this event is a pre-add event then the collection is a list of channels to be added. If the event is a post retrieve event then the collection is the list of items we retrieved from our channels.