public class ConnectCommand extends AbstractCommand
Constructor and Description |
---|
ConnectCommand() |
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.
|
isAvailableInShell
public void run(CommandContext ctx) throws CommandException
Command
com.redhat.thermostat.launcher.Launcher
will
present the exception message to the user.CommandException
public boolean isAvailableOutsideShell()
Command
isAvailableOutsideShell
in interface Command
isAvailableOutsideShell
in class AbstractCommand
public boolean isStorageRequired()
Command
Storage
isStorageRequired
in interface Command
isStorageRequired
in class AbstractCommand
Storage
is required.Copyright © 2013. All rights reserved.