Package fr.fuzeblocks.homeplugin.plugin
Class PluginManager
java.lang.Object
fr.fuzeblocks.homeplugin.plugin.PluginManager
- All Implemented Interfaces:
PluginLoader
The type Plugin manager.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets home plugin.static PluginManagerGets instance.voidloadPlugin(HomePlugin homePlugin) Load plugin.voidunregisterPlugin(HomePlugin homePlugin) Unregister plugin.
-
Constructor Details
-
PluginManager
public PluginManager()
-
-
Method Details
-
getInstance
Gets instance.- Returns:
- the instance
-
loadPlugin
Description copied from interface:PluginLoaderLoad plugin.- Specified by:
loadPluginin interfacePluginLoader- Parameters:
homePlugin- the home plugin
-
getHomePlugin
Description copied from interface:PluginLoaderGets home plugin.- Specified by:
getHomePluginin interfacePluginLoader- Returns:
- the home plugin
-
unregisterPlugin
Description copied from interface:PluginLoaderUnregister plugin.- Specified by:
unregisterPluginin interfacePluginLoader- Parameters:
homePlugin- the home plugin
-