|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.im.bot.AbstractTextSendingCommand
hudson.plugins.im.bot.AbortCommand
public class AbortCommand
Abort a running job
| Constructor Summary | |
|---|---|
AbortCommand()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getHelp()
Return the command usage text. |
protected java.lang.CharSequence |
getMessageForJob(hudson.model.AbstractProject<?,?> project,
Sender sender,
java.lang.String[] args)
Returns the message to return for this job. |
protected java.lang.String |
getReply(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 java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbortCommand()
| Method Detail |
|---|
public java.lang.String getHelp()
BotCommand
protected java.lang.CharSequence getMessageForJob(hudson.model.AbstractProject<?,?> project,
Sender sender,
java.lang.String[] args)
throws CommandException
CommandException
should be thrown!
project - The jobsender - The sender of the command
CommandException - if the command couldn't be executed for any reason
protected java.lang.String getReply(Sender sender,
java.lang.String[] args)
AbstractTextSendingCommand
getReply in class AbstractTextSendingCommandsender - the command senderargs - arguments passed to the command, where args[0] is the command name itself
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||