public abstract class BasicCommand extends CommandWithInfo
| Constructor and Description |
|---|
BasicCommand() |
| Modifier and Type | Method and Description |
|---|---|
abstract StartupConfiguration |
getConfiguration() |
ActionNotifier<ApplicationState> |
getNotifier() |
boolean |
isAvailableInShell()
Whether the command is available to be invoked from within the shell.
|
boolean |
isAvailableOutsideShell()
Indicates if the command is available to be invoked from outside the
shell (from the main command line).
|
boolean |
isStorageRequired() |
protected void |
setStorageRequired(boolean storageRequired) |
getDescription, getOptions, getUsagepublic ActionNotifier<ApplicationState> getNotifier()
public abstract StartupConfiguration getConfiguration()
public boolean isStorageRequired()
isStorageRequired in interface CommandisStorageRequired in class CommandWithInfoprotected void setStorageRequired(boolean storageRequired)
public boolean isAvailableInShell()
CommandisAvailableInShell in interface CommandisAvailableInShell in class CommandWithInfopublic boolean isAvailableOutsideShell()
CommandisAvailableOutsideShell in interface CommandisAvailableOutsideShell in class CommandWithInfoCopyright © 2012. All Rights Reserved.