public static interface DirectoryWatcher.FileChangeListener
Interface for FileChangeListeners
public void
onChange(java.io.File file)
onNew(java.io.File file)
Fired when a file changes
file
Fired when a new file is created
Groovy Documentation