Class ConfigurateModule
java.lang.Object
com.thewinterframework.configurate.module.ConfigurateModule
- All Implemented Interfaces:
com.google.inject.Module,com.thewinterframework.plugin.module.PluginModule,com.thewinterframework.processor.module.ProcessorModule
public class ConfigurateModule
extends Object
implements com.thewinterframework.processor.module.ProcessorModule
A module that provides support for Configurate serializers using the new Wire system.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(com.google.inject.Binder binder) booleanonEnable(com.thewinterframework.plugin.WinterPlugin plugin) booleanonLoad(com.thewinterframework.plugin.WinterPlugin plugin) @NotNull ConfigurateSerializersRegistryregistry()voidsetLangFileName(String langFileName) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.thewinterframework.plugin.module.PluginModule
before, depends, onDisable
-
Constructor Details
-
ConfigurateModule
public ConfigurateModule()
-
-
Method Details
-
configure
public void configure(com.google.inject.Binder binder) - Specified by:
configurein interfacecom.google.inject.Module- Specified by:
configurein interfacecom.thewinterframework.plugin.module.PluginModule
-
onLoad
public boolean onLoad(com.thewinterframework.plugin.WinterPlugin plugin) - Specified by:
onLoadin interfacecom.thewinterframework.plugin.module.PluginModule
-
onEnable
public boolean onEnable(com.thewinterframework.plugin.WinterPlugin plugin) - Specified by:
onEnablein interfacecom.thewinterframework.plugin.module.PluginModule
-
setLangFileName
-
registry
-