|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.jabber.im.transport.bot.SnackCommand
public class SnackCommand
Give the bot a snack! (this is really more to familiarize myself with working with Hudson/jabber
| Constructor Summary | |
|---|---|
SnackCommand()
|
|
| Method Summary | |
|---|---|
void |
executeCommand(org.jivesoftware.smack.GroupChat groupChat,
org.jivesoftware.smack.packet.Message message,
java.lang.String sender,
java.lang.String[] args)
Execute a command. |
java.lang.String |
getHelp()
Return the command usage text. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SnackCommand()
| Method Detail |
|---|
public void executeCommand(org.jivesoftware.smack.GroupChat groupChat,
org.jivesoftware.smack.packet.Message message,
java.lang.String sender,
java.lang.String[] args)
throws org.jivesoftware.smack.XMPPException
BotCommand
executeCommand in interface BotCommandgroupChat - the GroupChat object, may be used to send reply messagesmessage - the original Messagesender - the room nickname of the command senderargs - arguments passed to the command, where args[0] is the command name itself
org.jivesoftware.smack.XMPPExceptionpublic java.lang.String getHelp()
BotCommand
getHelp in interface BotCommand
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||