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
|
isAvailableInShell
getDescription, getUsage
public void run(CommandContext ctx) throws CommandException
Command
CommandException
public String getName()
Command
public org.apache.commons.cli.Options getOptions()
Command
getOptions
in interface Command
getOptions
in class CommandWithInfo
public boolean isAvailableOutsideShell()
Command
isAvailableOutsideShell
in interface Command
isAvailableOutsideShell
in class SimpleCommand
public boolean isStorageRequired()
isStorageRequired
in interface Command
isStorageRequired
in class SimpleCommand
Copyright © 2013. All Rights Reserved.