Oops... looks like the spiders padded through here
Add products to your cart and remove them from here Lets buypublic interface AddonRegistry
| Modifier and Type | Method and Description |
|---|---|
<T extends Addon> |
getAddon(Class<T> addonClazz)
Retrieves an addon by its class type.
|
Addon |
getAddon(String name)
Retrieves an addon by its name.
|
Plugin |
getPlugin()
Gets the plugin that this addon manager is associated with.
|
boolean |
initAddon(File file)
Loads an addon from the given file.
|
boolean |
isAddonEnabled(String name)
Checks if an addon is currently enabled.
|
void |
loadAddon(Addon addon)
Enables a specific addon.
|
void |
unloadAddon(Addon addon)
Disables a specific addon.
|
void |
unregisterAddon(Addon addon)
Unloads a specific addon, removing it from memory.
|
Plugin getPlugin()
boolean initAddon(File file)
file - the addon file to load.void loadAddon(Addon addon)
addon - the addon to enable.void unloadAddon(Addon addon)
addon - the addon to disable.void unregisterAddon(Addon addon) throws IOException
addon - the addon to unload.IOException<T extends Addon> T getAddon(Class<T> addonClazz)
T - the addon type.addonClazz - the class type of the addon.Addon getAddon(String name)
name - the name of the addon.boolean isAddonEnabled(String name)
name - the name of the addon.
Oops... looks like the spiders padded through here
Add products to your cart and remove them from here Lets buy