public class ScriptsMonitor extends java.lang.Object implements DirectoryMonitor.DirectoryCallback, DirectoryMonitor.Callback
Modifier and Type | Field and Description |
---|---|
protected DirectoryMonitor |
m_monitor |
Constructor and Description |
---|
ScriptsMonitor(ScriptingWindow scriptingWindow) |
Modifier and Type | Method and Description |
---|---|
void |
directoryChanged(java.io.File file)
Called once for every directory where a file was changed - created, modified, deleted.
|
void |
fileChanged(java.io.File file)
Executed on file changed.
|
void |
start(java.io.File scriptDir) |
void |
stop() |
protected DirectoryMonitor m_monitor
public ScriptsMonitor(ScriptingWindow scriptingWindow)
public void start(java.io.File scriptDir)
public void stop()
public void fileChanged(java.io.File file)
fileChanged
in interface DirectoryMonitor.Callback
public void directoryChanged(java.io.File file)
DirectoryMonitor.DirectoryCallback
directoryChanged
in interface DirectoryMonitor.DirectoryCallback