Package com.rometools.fetcher
Class FetcherEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.rometools.fetcher.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
-
-
Field Summary
Fields Modifier and Type Field Description static StringEVENT_TYPE_FEED_POLLEDDeprecated.static StringEVENT_TYPE_FEED_RETRIEVEDDeprecated.static StringEVENT_TYPE_FEED_UNCHANGEDDeprecated.-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description FetcherEvent(Object source)Deprecated.FetcherEvent(Object source, String urlStr, String eventType)Deprecated.FetcherEvent(Object source, String urlStr, String eventType, SyndFeed feed)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetEventType()Deprecated.SyndFeedgetFeed()Deprecated.StringgetUrlString()Deprecated.voidsetEventType(String eventType)Deprecated.voidsetFeed(SyndFeed feed)Deprecated.voidsetUrlString(String urlString)Deprecated.-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Field Detail
-
EVENT_TYPE_FEED_POLLED
public static final String EVENT_TYPE_FEED_POLLED
Deprecated.- See Also:
- Constant Field Values
-
EVENT_TYPE_FEED_RETRIEVED
public static final String EVENT_TYPE_FEED_RETRIEVED
Deprecated.- See Also:
- Constant Field Values
-
EVENT_TYPE_FEED_UNCHANGED
public static final String EVENT_TYPE_FEED_UNCHANGED
Deprecated.- See Also:
- Constant Field Values
-
-
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.
-
-