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, getUsage
public ActionNotifier<ApplicationState> getNotifier()
public abstract StartupConfiguration getConfiguration()
public boolean isStorageRequired()
isStorageRequired
in interface Command
isStorageRequired
in class CommandWithInfo
protected void setStorageRequired(boolean storageRequired)
public boolean isAvailableInShell()
Command
isAvailableInShell
in interface Command
isAvailableInShell
in class CommandWithInfo
public boolean isAvailableOutsideShell()
Command
isAvailableOutsideShell
in interface Command
isAvailableOutsideShell
in class CommandWithInfo
Copyright © 2013. All Rights Reserved.