Class ScriptFileWatchedProcess
java.lang.Object
org.noise_planet.noisemodelling.webserver.script.ScriptFileWatchedProcess
Monitors a specified directory and its subdirectories for changes in files.
Specifically, watches for creation, deletion, and modification events of files with the `.groovy` extension.
It triggers a script reload after a 5-second delay, which is reset if further changes are detected.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncall()protected voidregisterRecursive(WatchService watchService)
-
Constructor Details
-
ScriptFileWatchedProcess
-
-
Method Details
-
call
-
registerRecursive
- Throws:
IOException
-