public class ConnectCommand extends SimpleCommand
| Constructor and Description |
|---|
ConnectCommand() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns a name for this command.
|
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, getOptions, getUsagepublic void run(CommandContext ctx) throws CommandException
CommandCommandExceptionpublic String getName()
Commandpublic boolean isAvailableOutsideShell()
CommandisAvailableOutsideShell in interface CommandisAvailableOutsideShell in class SimpleCommandpublic boolean isStorageRequired()
isStorageRequired in interface CommandisStorageRequired in class SimpleCommandCopyright © 2012. All Rights Reserved.