Package tv.phantombot.script
Class ScriptFileWatcher
java.lang.Object
tv.phantombot.script.ScriptFileWatcher
- All Implemented Interfaces:
Runnable
-
Method Summary
-
Method Details
-
instance
Method that returns this object.- Returns:
-
addScript
Method to add scripts to the array list.- Parameters:
script
- - Script to be reloaded.
-
kill
public void kill()Method to kill this instance. -
run
public void run()Method that runs on a new thread to reload scripts.
-