Class FetcherEvent

  • All Implemented Interfaces:
    Serializable

    @Deprecated
    public class FetcherEvent
    extends EventObject
    Deprecated.
    ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints, please have a look at our detailed explanation.
    Implementation note: FetcherEvent is not thread safe. Make sure that they are only ever accessed by one thread. If necessary, make all getters and setters synchronized, or alternatively make all fields final.
    Author:
    nl
    See Also:
    Serialized Form
    • Constructor Detail

      • FetcherEvent

        public FetcherEvent​(Object source)
        Deprecated.
      • FetcherEvent

        public FetcherEvent​(Object source,
                            String urlStr,
                            String eventType)
        Deprecated.
    • Method Detail

      • getFeed

        public SyndFeed getFeed()
        Deprecated.
        Returns:
        Returns the feed.

        The feed will only be set if the eventType is EVENT_TYPE_FEED_RETRIEVED

      • setFeed

        public void setFeed​(SyndFeed feed)
        Deprecated.
        Parameters:
        feed - The feed to set.

        The feed will only be set if the eventType is EVENT_TYPE_FEED_RETRIEVED

      • getEventType

        public String getEventType()
        Deprecated.
        Returns:
        Returns the eventType.
      • setEventType

        public void setEventType​(String eventType)
        Deprecated.
        Parameters:
        eventType - The eventType to set.
      • getUrlString

        public String getUrlString()
        Deprecated.
        Returns:
        Returns the urlString.
      • setUrlString

        public void setUrlString​(String urlString)
        Deprecated.
        Parameters:
        urlString - The urlString to set.