Package gg.xp.xivsupport.groovy
Class GroovyScriptManager
java.lang.Object
gg.xp.xivsupport.groovy.GroovyScriptManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addListener
(Runnable listener) cloneAs
(GroovyScriptHolder existing, ScriptNameAndFileStub newNameAndFile) createAndAddNew
(ScriptNameAndFileStub newNameAndFile) void
delete
(GroovyScriptHolder scriptToDelete) void
void
reloadScript
(GroovyScriptHolder script) void
removeListener
(Runnable listener) void
renameScript
(GroovyScriptHolder holder, ScriptNameAndFileStub newNameAndFile) void
runStartupScripts
(EventContext context, InitEvent init) void
saveAll()
void
saveScript
(GroovyScriptHolder script) void
validateNewScriptFile
(String filenameStub) void
validateNewScriptName
(String scriptName)
-
Constructor Details
-
GroovyScriptManager
-
-
Method Details
-
getScripts
-
runStartupScripts
-
reloadAll
public void reloadAll() -
addListener
-
removeListener
-
validateNewScriptName
-
validateNewScriptFile
-
createAndAddNew
-
cloneAs
public GroovyScriptHolder cloneAs(GroovyScriptHolder existing, ScriptNameAndFileStub newNameAndFile) -
renameScript
-
delete
-
saveAll
public void saveAll() -
saveScript
-
reloadScript
-
getGroovyManager
-