public class DisconnectCommand extends AbstractCommand
| Constructor and Description |
|---|
DisconnectCommand() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAvailableOutsideShell()
Indicates if the command is available to be invoked from outside the
shell (as an argument to the main thermostat program).
|
boolean |
isStorageRequired()
Whether the command depends on
Storage |
void |
run(CommandContext ctx)
Execute the command.
|
isAvailableInShellpublic void run(CommandContext ctx) throws CommandException
Commandcom.redhat.thermostat.launcher.Launcher will
present the exception message to the user.CommandExceptionpublic boolean isAvailableOutsideShell()
CommandisAvailableOutsideShell in interface CommandisAvailableOutsideShell in class AbstractCommandpublic boolean isStorageRequired()
CommandStorageisStorageRequired in interface CommandisStorageRequired in class AbstractCommandStorage is required.Copyright © 2013. All Rights Reserved.