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 ModuleClassLoaderClass loader used to load the module jar.final ModuleContextRuntime context provided to the module.booleanWhether the module is currently enabled.final ModuleInfoModule descriptor parsed from module.yml.final GravesXModuleModule 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.
-