public abstract class AbstractStateNotifyingCommand extends AbstractCommand
Command implementation including all the default functionality of
AbstractCommand, but also contains an ActionNotifier
so that concrete implementations of this class can use this to provide updates with regards
to their runtime status to other components.
Concrete implementations must be registered as OSGi services with Command as the
class.
Command| Constructor and Description |
|---|
AbstractStateNotifyingCommand() |
| Modifier and Type | Method and Description |
|---|---|
ActionNotifier<ApplicationState> |
getNotifier() |
boolean |
isStorageRequired()
Whether the command depends on
Storage |
protected void |
setStorageRequired(boolean storageRequired) |
isAvailableInShell, isAvailableOutsideShellpublic ActionNotifier<ApplicationState> getNotifier()
public boolean isStorageRequired()
CommandStorageisStorageRequired in interface CommandisStorageRequired in class AbstractCommandStorage is required.protected void setStorageRequired(boolean storageRequired)
Copyright © 2013. All Rights Reserved.