public class NativeFileWatcherImpl extends PluggableFileWatcher
EP_NAME| Constructor and Description | 
|---|
NativeFileWatcherImpl()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
dispose()  | 
protected java.io.File | 
getExecutable()
Subclasses should override this method to provide a custom binary to run. 
 | 
static java.io.File | 
getFSNotifierExecutable()  | 
void | 
initialize(ManagingFS managingFS,
          FileWatcherNotificationSink notificationSink)  | 
protected boolean | 
isDisabled()
Subclasses should override this method if they want to use custom logic to disable their file watcher. 
 | 
boolean | 
isOperational()  | 
protected boolean | 
isRepetition(java.lang.String path)  | 
boolean | 
isSettingRoots()  | 
void | 
resetChangedPaths()  | 
void | 
setWatchRoots(java.util.List<java.lang.String> recursive,
             java.util.List<java.lang.String> flat)
The inputs to this method must be absolute and free of symbolic links. 
 | 
void | 
shutdown()  | 
void | 
startup()  | 
public void initialize(ManagingFS managingFS, FileWatcherNotificationSink notificationSink)
initialize in class PluggableFileWatcherpublic void dispose()
dispose in class PluggableFileWatcherpublic boolean isOperational()
isOperational in class PluggableFileWatcherpublic boolean isSettingRoots()
isSettingRoots in class PluggableFileWatcherpublic void setWatchRoots(java.util.List<java.lang.String> recursive,
                          java.util.List<java.lang.String> flat)
PluggableFileWatchersetWatchRoots in class PluggableFileWatcherprotected boolean isDisabled()
protected java.io.File getExecutable()
public static java.io.File getFSNotifierExecutable()
public void resetChangedPaths()
resetChangedPaths in class PluggableFileWatcherprotected boolean isRepetition(java.lang.String path)
public void startup()
             throws java.io.IOException
startup in class PluggableFileWatcherjava.io.IOExceptionpublic void shutdown()
              throws java.lang.InterruptedException
shutdown in class PluggableFileWatcherjava.lang.InterruptedException