|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ApiPlugin
public class ApiPlugin
Supplies commands to access the functionality implemented by RequestHandler
.
This will allow users to access the api search functions.
api | search all information available (methods and classes) for the given term | |
---|---|---|
class | search classes only for the given term | |
method | search methods only for the given term | |
apistat | return short information about the last search (execution time) | |
apireload | * | causes the api to be reload |
Constructor Summary | |
---|---|
ApiPlugin()
|
Method Summary | |
---|---|
java.lang.String[] |
getCommands()
A list of commands that this plugins want to handle. |
java.lang.String[] |
getRestrictedCommands()
A list of restricted commands that this plugins want to handle. |
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 ApiPlugin()
Method Detail |
---|
public java.lang.String[] getCommands()
Plugin
getCommands
in interface Plugin
public java.lang.String[] getRestrictedCommands()
Plugin
getRestrictedCommands
in interface Plugin
public void handleEvent(IrcCommandEvent ice)
Plugin
IrcCommandEvent
will hold the information
necessary to find out which command was called.
handleEvent
in interface Plugin
ice
- the Event that occured
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |