jetbrains.buildServer.configuration
Interface FilesWatcher.WatchedFilesProvider

Enclosing class:
FilesWatcher

public static interface FilesWatcher.WatchedFilesProvider

Allows to dynamically specify list of watched files/directories


Method Summary
 java.io.File[] getWatchedFiles()
          Returns files to watch.
 

Method Detail

getWatchedFiles

@NotNull
java.io.File[] getWatchedFiles()
                               throws java.io.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:
java.io.IOException