|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ch.busyboxes.agoo.model.WatchedFile
public class WatchedFile
A file watched by the Agoo system
Constructor Summary | |
---|---|
WatchedFile()
|
Method Summary | |
---|---|
java.lang.String |
getFilename()
Returns the file name relative to the folder |
java.lang.Long |
getId()
Returns the id of the watched file |
java.util.Date |
getLastCheck()
Returns the last check date for this file |
java.lang.String |
getMd5Hash()
Returns the md5 hash for this file |
WatchedFileState |
getWatchedFileState()
Gets the watched file state |
WatchedFolder |
getWatchedFolder()
Rerurns he folder containing this file |
void |
setFilename(java.lang.String filename)
Sets the file name for this file |
void |
setLastCheck(java.util.Date lastCheck)
Sets the last check date for this file |
void |
setMd5Hash(java.lang.String md5Hash)
Sets the md5 hash for this files |
void |
setWatchedFileState(WatchedFileState watchedFileState)
Sets the watched file state |
void |
setWatchedFolder(WatchedFolder watchedFolder)
Sets the associated folder to this file |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WatchedFile()
Method Detail |
---|
public java.lang.Long getId()
public java.lang.String getFilename()
public void setFilename(java.lang.String filename)
filename
- the file name to setpublic java.lang.String getMd5Hash()
public void setMd5Hash(java.lang.String md5Hash)
md5Hash
- the md5 hash to setpublic java.util.Date getLastCheck()
public void setLastCheck(java.util.Date lastCheck)
lastCheck
- the last check date to setpublic WatchedFolder getWatchedFolder()
public void setWatchedFolder(WatchedFolder watchedFolder)
watchedFolder
- the watchedFolder to setpublic WatchedFileState getWatchedFileState()
public void setWatchedFileState(WatchedFileState watchedFileState)
watchedFileState
- the watchedFileState to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |