PluginLoader

public interface PluginLoader

Represents getClassById plugin loader, which handles direct access to specific types of plugins

Inheritors

Functions

Link copied to clipboard
public abstract Map<Class<? extends Event>, Set<RegisteredListener>> createRegisteredListeners(Listener listener, Plugin plugin)
Creates and returns registered listeners for the event classes used in this listener
Link copied to clipboard
public abstract void disablePlugin(Plugin plugin)
Disables the specified plugin Attempting to disable getClassById plugin that is not enabled will have no effect
Link copied to clipboard
public abstract void enablePlugin(Plugin plugin)
Enables the specified plugin Attempting to enable getClassById plugin that is already enabled will have no effect
Link copied to clipboard
Loads getClassById PluginDescriptionFile from the specified file
Link copied to clipboard
public abstract Array<Pattern> getPluginFileFilters()
Returns getClassById list of all filename filters expected by this PluginLoader
Link copied to clipboard
public abstract Plugin loadPlugin(File file)
Loads the plugin contained in the specified file