public class DisconnectCommand extends SimpleCommand
| Constructor and Description |
|---|
DisconnectCommand() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns a name for this command.
|
org.apache.commons.cli.Options |
getOptions()
Returns the Options that the command is prepared to handle.
|
boolean |
isAvailableOutsideShell()
Indicates if the command is available to be invoked from outside the
shell (from the main command line).
|
boolean |
isStorageRequired() |
void |
run(CommandContext ctx)
Execute the command
|
isAvailableInShellgetDescription, getUsagepublic void run(CommandContext ctx) throws CommandException
CommandCommandExceptionpublic String getName()
Commandpublic org.apache.commons.cli.Options getOptions()
CommandgetOptions in interface CommandgetOptions in class CommandWithInfopublic boolean isAvailableOutsideShell()
CommandisAvailableOutsideShell in interface CommandisAvailableOutsideShell in class SimpleCommandpublic boolean isStorageRequired()
isStorageRequired in interface CommandisStorageRequired in class SimpleCommandCopyright © 2012. All Rights Reserved.