|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.berlios.suzy.irc.LoaderPlugin
public class LoaderPlugin
This plugin is responsible for loading and unloading other plugins at runtime.
It will also keep a list of loaded plugins.
A LoaderPlugin cannot be loaded at Runtime.
| load | * | loads a plugin |
|---|---|---|
| unload | * | unloads a plugin |
| commands | shows all commands that are not access restricted | |
| allcommands | * | shows all commands |
| Constructor Summary | |
|---|---|
LoaderPlugin(java.lang.String network)
Creates a new instance. |
|
| Method Summary | |
|---|---|
java.lang.String[] |
getCommands()
A list of commands that this plugins want to handle. |
java.util.List<PerformOnConnectPlugin> |
getPerformOnConnectList()
Returns a List containing all plugins that expect to be called whenever a new irc connection is opened. |
java.util.Map<java.lang.String,Plugin> |
getPluginList()
Returns a mapping of commands and Plugins executing these. |
java.lang.String[] |
getRestrictedCommands()
A list of restricted commands that this plugins want to handle. |
java.util.Map<java.lang.String,Plugin> |
getRestrictedPluginList()
Returns a mapping of access restricted commands and Plugins executing these. |
void |
handleEvent(IrcCommandEvent ice)
This method will be called whenever an event this plugin can handle occurs. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LoaderPlugin(java.lang.String network)
| Method Detail |
|---|
public java.lang.String[] getCommands()
Plugin
getCommands in interface Pluginpublic java.lang.String[] getRestrictedCommands()
Plugin
getRestrictedCommands in interface Pluginpublic void handleEvent(IrcCommandEvent ice)
PluginIrcCommandEvent will hold the information
necessary to find out which command was called.
handleEvent in interface Pluginice - the Event that occuredpublic java.util.List<PerformOnConnectPlugin> getPerformOnConnectList()
public java.util.Map<java.lang.String,Plugin> getPluginList()
public java.util.Map<java.lang.String,Plugin> getRestrictedPluginList()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||