Interface FilesWatcher.WatchedFilesProvider
-
- Enclosing class:
- FilesWatcher
public static interface FilesWatcher.WatchedFilesProvider
Allows to dynamically specify list of watched files/directories
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description File[]
getWatchedFiles()
Returns files to watch.
-
-
-
Method Detail
-
getWatchedFiles
@NotNull File[] getWatchedFiles() throws IOException
Returns files to watch. For example this method can return a directory content, in this case you will be able to watch for this directory changes: detect new, removed files and modified files.- Returns:
- files to watch.
- Throws:
IOException
-
-