|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.openprivacy.reptile.tasks.BaseTask
Responsible for updating Reptile subscriptions with the Proxy mechanism.
| 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 | |
BaseTask()
|
|
| Method Summary | |
java.lang.String |
getIdentifier()
Get the value of identifier. |
long |
getInterval()
Get the value of interval. |
java.lang.String |
getLastMessage()
Get the value of lastMessage. |
long |
getLastRan()
Get the value of lastRan. |
java.lang.String |
getState()
Get the value of state. |
java.lang.String |
getType()
Get the value of type. |
boolean |
isRunning()
Return true if this task is running. |
protected boolean |
requireNotStale(java.lang.String location)
Perform a test to make sure the content is not stale, if it is (and testing for this is enabled), we return true. |
void |
setIdentifier(java.lang.String identifier)
Set the value of identifier. |
void |
setInterval(long interval)
Set the value of interval. |
void |
setLastMessage(java.lang.String lastMessage)
Set the value of lastMessage. |
void |
setLastMessage(java.lang.Throwable t)
Set the value of lastMessage. |
void |
setLastRan(long lastRan)
Set the value of lastRan. |
void |
setState(java.lang.String state)
Set the value of state. |
void |
setType(java.lang.String type)
Set the value of type. |
protected boolean |
stale(org.openprivacy.panther.components.ProxyEntry entry)
When compared to the current threads interval... |
| 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 |
run |
| Constructor Detail |
public BaseTask()
| Method Detail |
public java.lang.String getIdentifier()
identifier.
getIdentifier in interface Taskpublic void setIdentifier(java.lang.String identifier)
identifier.
setIdentifier in interface TaskTask.getIdentifier()public long getLastRan()
lastRan.
getLastRan in interface Taskpublic void setLastRan(long lastRan)
lastRan.
setLastRan in interface Taskpublic long getInterval()
interval.
getInterval in interface Taskpublic void setInterval(long interval)
interval.
setInterval in interface TaskTask.getInterval()public void setLastMessage(java.lang.String lastMessage)
lastMessage.
setLastMessage in interface TaskTask.getLastMessage()public void setLastMessage(java.lang.Throwable t)
lastMessage.
setLastMessage in interface TaskTask.getLastMessage()public java.lang.String getLastMessage()
lastMessage.
getLastMessage in interface Taskpublic java.lang.String getState()
state.
getState in interface Taskpublic void setState(java.lang.String state)
state.
setState in interface TasksetStatepublic void setType(java.lang.String type)
type.
setType in interface Taskpublic java.lang.String getType()
type.
getType in interface Taskpublic boolean isRunning()
Task
isRunning in interface TaskTask.isRunning()protected boolean stale(org.openprivacy.panther.components.ProxyEntry entry)
protected boolean requireNotStale(java.lang.String location)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||