|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.openprivacy.reptile.tasks.BaseTask | +--org.openprivacy.reptile.feeds.tasks.FeedUpdateTask
Responsible for updating content with the Proxy, performing any necessary update tasks (DB, whatever) and possibly reparsing their content.
Field Summary |
Fields inherited from interface org.openprivacy.reptile.tasks.Task |
MESSAGE_SUCCESSFUL, STATE_FAILED, 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 FeedUpdateTask instance. |
Method Summary | |
void |
run()
Just like a runnable but we can throw an Exception. |
void |
update(org.openprivacy.panther.components.ProxyEntry entry)
Update this content. |
Methods inherited from class org.openprivacy.reptile.tasks.BaseTask |
getIdentifier, getInterval, getLastMessage, getLastRan, getState, getType, isRunning, requireNotStale, setIdentifier, setInterval, setLastMessage, setLastMessage, setLastRan, setState, setType, stale |
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, isRunning, setIdentifier, setInterval, setLastMessage, setLastMessage, setLastRan, setState, setType |
Constructor Detail |
public FeedUpdateTask(java.lang.String location, java.lang.String contentType)
FeedUpdateTask
instance.
Method Detail |
public void run() throws java.lang.Exception
Task
run
in interface Task
java.lang.Exception
public void update(org.openprivacy.panther.components.ProxyEntry entry)
ProxyEventListener
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |