|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.im.bot.BotCommand
hudson.plugins.im.bot.AbstractTextSendingCommand
hudson.plugins.im.bot.BuildCommand
@Extension public class BuildCommand
Build command for the instant messaging bot.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Constructor Summary | |
|---|---|
BuildCommand()
|
|
| Method Summary | |
|---|---|
java.util.Collection<java.lang.String> |
getCommandNames()
Obtains the name of the command. |
java.lang.String |
getHelp()
Return the command usage text. |
java.lang.String |
getReply(Bot bot,
Sender sender,
java.lang.String[] args)
Gets the text reply |
| Methods inherited from class hudson.plugins.im.bot.AbstractTextSendingCommand |
|---|
executeCommand, getErrorReply, getJobProvider |
| Methods inherited from class hudson.plugins.im.bot.BotCommand |
|---|
all |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BuildCommand()
| Method Detail |
|---|
public java.util.Collection<java.lang.String> getCommandNames()
BotCommand
getCommandNames in class BotCommand
public java.lang.String getReply(Bot bot,
Sender sender,
java.lang.String[] args)
AbstractTextSendingCommand
getReply in class AbstractTextSendingCommandbot - The bot for which this command is currently operating. Never be null.sender - the command senderargs - arguments passed to the command, where args[0] is the command name itself @throws RuntimeException in case of invalid args. This is automatically caught and reported to the senderpublic java.lang.String getHelp()
BotCommand
getHelp in class BotCommand
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||