|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ch.busyboxes.agoo.model.WatcherTask
public class WatcherTask
A file watched by the Agoo system
Constructor Summary | |
---|---|
WatcherTask()
|
Method Summary | |
---|---|
java.util.Date |
getCreated()
Get the date when the task was created |
java.lang.Long |
getId()
Returns the id of the watched file |
java.lang.Long |
getTargetId()
Gets the target id |
TaskState |
getTaskState()
Gets the task state |
TaskType |
getTaskType()
Gets the task type |
void |
setCreated(java.util.Date created)
Sets the task's creation date |
void |
setTargetId(java.lang.Long targetId)
Sets the target id |
void |
setTaskState(TaskState taskState)
Sets the task state |
void |
setTaskType(TaskType taskType)
Sets the task type |
java.lang.String |
toString()
String representation of the task |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WatcherTask()
Method Detail |
---|
public java.lang.Long getId()
public TaskType getTaskType()
public void setTaskType(TaskType taskType)
taskType
- the taskType to setpublic TaskState getTaskState()
public void setTaskState(TaskState taskState)
taskState
- the taskState to setpublic java.lang.Long getTargetId()
public void setTargetId(java.lang.Long targetId)
targetId
- the targetId to setpublic java.util.Date getCreated()
public void setCreated(java.util.Date created)
created
- the created to setpublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |