Package tv.phantombot.script
Class ScriptFileWatcher
java.lang.Object
tv.phantombot.script.ScriptFileWatcher
-
Method Summary
Modifier and TypeMethodDescriptionvoidMethod to add scripts to the array list.static ScriptFileWatcherinstance()Method that returns this object.voidkill()Method to kill this instance.
-
Method Details
-
instance
Method that returns this object.- Returns:
- Throws:
IOException
-
addScript
Method to add scripts to the array list.- Parameters:
script- - Script to be reloaded.
-
kill
public void kill()Method to kill this instance.
-