org.openprivacy.reptile.feeds.tasks
Class FeedUpdateTask

java.lang.Object
  |
  +--org.openprivacy.reptile.tasks.BaseTask
        |
        +--org.openprivacy.reptile.feeds.tasks.FeedUpdateTask
All Implemented Interfaces:
java.util.EventListener, org.openprivacy.panther.event.ProxyEventListener, java.lang.Runnable, Task

public class FeedUpdateTask
extends BaseTask
implements Task, org.openprivacy.panther.event.ProxyEventListener

Responsible for updating content with the Proxy, performing any necessary update tasks (DB, whatever) and possibly reparsing their content.

Version:
$Id: FeedUpdateTask.java,v 1.2 2001/11/27 08:17:57 burton Exp $
Author:
burtonator

Fields inherited from interface org.openprivacy.reptile.tasks.Task
MESSAGE_SUCCESSFUL, STATE_PAUSED, STATE_RUNNING, STATE_STOPPED, TYPE_OCS, TYPE_RSS, TYPE_UNKNOWN
 
Constructor Summary
FeedUpdateTask(java.lang.String location, java.lang.String contentType)
          Create a new SubscriptionProxyUpdateTask instance.
 
Method Summary
 void run()
           
 void updated(org.openprivacy.panther.event.ProxyEvent event)
          Called when a ProxyEvent has been fired.
 
Methods inherited from class org.openprivacy.reptile.tasks.BaseTask
getIdentifier, getInterval, getLastMessage, getLastRan, getState, getType, setIdentifier, setInterval, setLastMessage, setLastMessage, setLastRan, setState, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.openprivacy.reptile.tasks.Task
getIdentifier, getInterval, getLastMessage, getLastRan, getState, getType, setIdentifier, setInterval, setLastMessage, setLastMessage, setLastRan, setState, setType
 

Constructor Detail

FeedUpdateTask

public FeedUpdateTask(java.lang.String location,
                      java.lang.String contentType)
Create a new SubscriptionProxyUpdateTask instance.
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

updated

public void updated(org.openprivacy.panther.event.ProxyEvent event)
Called when a ProxyEvent has been fired.
Specified by:
updated in interface org.openprivacy.panther.event.ProxyEventListener
See Also:
ProxyEventListener