public abstract class AbstractCommand extends Object implements Command
Command
that most implementations should
extend. By default, any extension of this class will require Storage
,
and be available both in and out of the Thermostat shell.
Concrete implementations must be registered as OSGi services with
Command
as the class. This may be done through a
CommandRegistry
.
Constructor and Description |
---|
AbstractCommand() |
Modifier and Type | Method and Description |
---|---|
boolean |
isStorageRequired()
Whether the command depends on
Storage |
public boolean isStorageRequired()
Command
Storage
isStorageRequired
in interface Command
Storage
is required.Copyright © 2015. All rights reserved.