public abstract class

Plugin

extends Resource
java.lang.Object
   ↳ net.gtaun.shoebill.resource.Resource
     ↳ net.gtaun.shoebill.resource.Plugin

Summary

Protected Constructors
Plugin()
Public Methods
void disable()
Gets called when the Resource is getting unloaded.
void enable()
Gets called when the Resource is getting enabled.
static <PluginType extends Plugin> PluginType get(Class<PluginType> pluginClass)
Gets the Plugin.
static Collection<Plugin> get()
[Expand]
Inherited Methods
From class net.gtaun.shoebill.resource.Resource
From class java.lang.Object

Protected Constructors

protected Plugin ()

Public Methods

public void disable ()

Gets called when the Resource is getting unloaded.

Throws
Throwable

public void enable ()

Gets called when the Resource is getting enabled.

Throws
Throwable

public static PluginType get (Class<PluginType> pluginClass)

Gets the Plugin.

Parameters
pluginClass Class Instance of the Plugin
Returns
  • The Plugin

public static Collection<Plugin> get ()