public interface PluginsManagerListener
Modifier and Type | Field and Description |
---|---|
static short |
DEPENDENCIES_NOT_LOADED
The type for informations fired if some dependencies for a Plugin are not present.
|
static short |
INITGUIPLUGIN_IMPOSSIBLE
The type for exceptions fired if a Plugin is not able to initialize its GUI.
|
static short |
INITPLUGIN_IMPOSSIBLE
The type for exceptions fired if a Plugin is not able to initialize.
|
static short |
JARFILE_NOTFOUND
The type for exceptions fired if a Plugin jar file can not be found.
|
static short |
LOADPLUGINRESOURCES_IMPOSSIBLE
The type for exceptions fired if a Plugin is not able to load its resources.
|
static short |
MANIFEST_NOTFOUND
The type for exceptions fired if a Plugin Manifest can not be found.
|
static short |
PLUGIN_DIRECTORY_DONT_EXIST
The type for exceptions fired if a Plugin Manifest can not be found.
|
static short |
PLUGINCLASS_NOTFOUND
The type for exceptions fired if a Plugin class is not found.
|
static short |
PLUGININSTANCE_IMPOSSIBLE
The type for exceptions fired if a Plugin instance can not be created.
|
static short |
PLUGINNAME_EXISTS
The type for informations fired if a Plugin name already exist.
|
static short |
REGISTER_EXCEPTION
The type for register plugin exceptions.
|
static short |
RESETSETTINGS_IMPOSSIBLE
The type for exceptions fired if a Plugin is not able to reset its settings.
|
static short |
UNDEFINED_EXCEPTION
The type for undefined exceptions.
|
Modifier and Type | Method and Description |
---|---|
void |
exception(java.lang.Throwable e,
java.lang.String message,
short type)
Fired when when an exception is fired not specific to a Plugin.
|
void |
exception(java.lang.Throwable e,
java.lang.String message,
java.lang.String pluginName,
short type)
Fired when an exception is fired when loading a Plugin.
|
void |
info(java.lang.String message,
short type)
Fired for information messages not specific to a Plugin.
|
void |
info(java.lang.String message,
short type,
java.lang.String pluginName)
Fired for information messages when loading a Plugin.
|
static final short UNDEFINED_EXCEPTION
static final short DEPENDENCIES_NOT_LOADED
static final short PLUGINCLASS_NOTFOUND
static final short PLUGININSTANCE_IMPOSSIBLE
static final short RESETSETTINGS_IMPOSSIBLE
static final short INITPLUGIN_IMPOSSIBLE
static final short INITGUIPLUGIN_IMPOSSIBLE
static final short JARFILE_NOTFOUND
static final short MANIFEST_NOTFOUND
static final short PLUGIN_DIRECTORY_DONT_EXIST
static final short PLUGINNAME_EXISTS
static final short REGISTER_EXCEPTION
static final short LOADPLUGINRESOURCES_IMPOSSIBLE
void exception(java.lang.Throwable e, java.lang.String message, short type)
e
- the Exceptionmessage
- the messagetype
- the exception typevoid exception(java.lang.Throwable e, java.lang.String message, java.lang.String pluginName, short type)
e
- the Exceptionmessage
- the messagepluginName
- the plugin Nametype
- the exception typevoid info(java.lang.String message, short type)
message
- the messagetype
- the information typevoid info(java.lang.String message, short type, java.lang.String pluginName)
message
- the messagetype
- the information typepluginName
- the plugin Name