public abstract class SimpleCommand extends CommandWithInfo
Constructor and Description |
---|
SimpleCommand() |
Modifier and Type | Method and Description |
---|---|
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() |
getDescription, getOptions, getUsage
public boolean isStorageRequired()
isStorageRequired
in interface Command
isStorageRequired
in class CommandWithInfo
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 © 2012. All Rights Reserved.