|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.objectweb.cjdbc.console.text.commands.ConsoleCommand
org.objectweb.cjdbc.console.text.commands.Quit
This class defines a Quit
| Field Summary |
| Fields inherited from class org.objectweb.cjdbc.console.text.commands.ConsoleCommand |
console, jmxClient, module |
| Constructor Summary | |
Quit(AbstractConsoleModule module)
Creates a new Quit.java object |
|
| Method Summary | |
void |
execute(java.lang.String commandText)
Check if the JMX connection is still valid. |
java.lang.String |
getCommandDescription()
Get the description of the command |
java.lang.String |
getCommandName()
Get the name of the command |
void |
parse(java.lang.String commandText)
Parse the text of the command |
| Methods inherited from class org.objectweb.cjdbc.console.text.commands.ConsoleCommand |
compareTo, getCommandParameters |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Quit(AbstractConsoleModule module)
Quit.java object
module - the command is attached to| Method Detail |
public void parse(java.lang.String commandText)
throws java.io.IOException,
ConsoleException
ConsoleCommand
parse in class ConsoleCommandcommandText - the command text
java.io.IOException
ConsoleExceptionConsoleCommand.parse(java.lang.String)public java.lang.String getCommandName()
ConsoleCommand
getCommandName in class ConsoleCommandString of the command nameConsoleCommand.getCommandName()public java.lang.String getCommandDescription()
ConsoleCommand
getCommandDescription in class ConsoleCommandString of the command descriptionConsoleCommand.getCommandDescription()
public void execute(java.lang.String commandText)
throws java.lang.Exception
ConsoleCommand
execute in class ConsoleCommandcommandText - the parameters to execute the command with
java.lang.Exception - if failsConsoleCommand.execute(java.lang.String)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||