Package dev.cwhead.GravesX.module
Class ModuleManager.LoadedModule
java.lang.Object
dev.cwhead.GravesX.module.ModuleManager.LoadedModule
- Enclosing class:
ModuleManager
Holds a loaded module instance and its metadata.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ModuleClassLoader
Class loader used to load the module jar.final ModuleContext
Runtime context provided to the module.boolean
Whether the module is currently enabled.final ModuleInfo
Module descriptor parsed from module.yml.final GravesXModule
Module main instance. -
Method Summary
-
Field Details
-
info
Module descriptor parsed from module.yml. -
cl
Class loader used to load the module jar. -
instance
Module main instance. -
context
Runtime context provided to the module. -
enabled
public boolean enabledWhether the module is currently enabled.
-