Package com.ericlam.mc.groovier
Interface ScriptLoader
- All Superinterfaces:
Comparable<ScriptLoader>
a script loader interface
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
do after loading scriptsdefault int
default int
priority of script loading ordervoid
load
(GroovyClassLoader classLoader) do when loading scriptsvoid
unload()
do when unloading scripts
-
Method Details
-
unload
void unload()do when unloading scripts -
load
do when loading scripts- Parameters:
classLoader
- groovy class loader
-
afterLoad
do after loading scripts -
getPriority
priority of script loading order- Returns:
- priority
-
compareTo
- Specified by:
compareTo
in interfaceComparable<ScriptLoader>
-