Class DriverModule
- java.lang.Object
-
- de.dytanic.cloudnet.driver.module.DefaultModule
-
- de.dytanic.cloudnet.driver.module.driver.DriverModule
-
- All Implemented Interfaces:
IModule
public class DriverModule extends DefaultModule
-
-
Field Summary
Fields Modifier and Type Field Description protected de.dytanic.cloudnet.common.document.gson.JsonDocumentconfig
-
Constructor Summary
Constructors Constructor Description DriverModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description de.dytanic.cloudnet.common.document.gson.JsonDocumentgetConfig()CloudNetDrivergetDriver()IEventManagergetEventManager()de.dytanic.cloudnet.common.logging.ILoggergetLogger()de.dytanic.cloudnet.common.registry.IServicesRegistrygetRegistry()de.dytanic.cloudnet.common.logging.ILoggerlog(de.dytanic.cloudnet.common.logging.LogLevel level, java.lang.String message)IEventManagerregisterListener(java.lang.Object listener)IEventManagerregisterListeners(java.lang.Object... listeners)de.dytanic.cloudnet.common.document.gson.JsonDocumentreloadConfig()DriverModulesaveConfig()-
Methods inherited from class de.dytanic.cloudnet.driver.module.DefaultModule
getClassLoader, getModuleConfig, getModuleWrapper
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.dytanic.cloudnet.driver.module.IModule
getDescription, getGroup, getName, getVersion, getWebsite
-
-
-
-
Method Detail
-
getConfig
public final de.dytanic.cloudnet.common.document.gson.JsonDocument getConfig()
-
reloadConfig
public de.dytanic.cloudnet.common.document.gson.JsonDocument reloadConfig()
-
saveConfig
public final DriverModule saveConfig()
-
log
public final de.dytanic.cloudnet.common.logging.ILogger log(de.dytanic.cloudnet.common.logging.LogLevel level, java.lang.String message)
-
registerListener
public final IEventManager registerListener(java.lang.Object listener)
-
registerListeners
public final IEventManager registerListeners(java.lang.Object... listeners)
-
getRegistry
public final de.dytanic.cloudnet.common.registry.IServicesRegistry getRegistry()
-
getLogger
public final de.dytanic.cloudnet.common.logging.ILogger getLogger()
-
getEventManager
public final IEventManager getEventManager()
-
getDriver
public final CloudNetDriver getDriver()
-
-