ch.busyboxes.agoo.model
Class WatchedFolder

java.lang.Object
  extended by ch.busyboxes.agoo.model.WatchedFolder

public class WatchedFolder
extends java.lang.Object

A folder watched by the Agoo system, it's basically a container for watched files

Author:
julien@busyboxes.ch

Constructor Summary
WatchedFolder()
           
 
Method Summary
 java.lang.String getFolderPath()
          Returns the path corresponding to this folder
 java.lang.Long getId()
          Returns the id of the watched folder
 java.util.List<WatchedFile> getWatchedFiles()
          Returns the list of files associated with this folder
 void setFolderPath(java.lang.String folderPath)
          Sets the path corresponding to this folder
 void setWatchedFiles(java.util.List<WatchedFile> watchedFiles)
          Sets the list of files associated with this folder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WatchedFolder

public WatchedFolder()
Method Detail

getId

public java.lang.Long getId()
Returns the id of the watched folder

Returns:
the id of the watched folder

getFolderPath

public java.lang.String getFolderPath()
Returns the path corresponding to this folder

Returns:
the folderPath the path of this folder

setFolderPath

public void setFolderPath(java.lang.String folderPath)
Sets the path corresponding to this folder

Parameters:
folderPath - the folder's path to set

getWatchedFiles

public java.util.List<WatchedFile> getWatchedFiles()
Returns the list of files associated with this folder

Returns:
the watchedFiles the list of files associated

setWatchedFiles

public void setWatchedFiles(java.util.List<WatchedFile> watchedFiles)
Sets the list of files associated with this folder

Parameters:
watchedFiles - the watched files list to set


Copyright © 2009. All Rights Reserved.