| Package | Description |
|---|---|
| de.vandermeer.skb.base.shell |
A shell with an abstract implementation, commands and arguments, and standard commands and arguments.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractShellCommand
An abstract, default implementation of a shell command, use the
SkbShellFactory to create a new object. |
| Modifier and Type | Field and Description |
|---|---|
static SkbShellCommand |
Ci_Exit.BYE
The command for bye.
|
static SkbShellCommand |
Ci_Exit.EXIT
The command for exit.
|
static SkbShellCommand |
Ci_Help.HELP
The command for help.
|
static SkbShellCommand |
Ci_Help.HELP_H
The command for h.
|
static SkbShellCommand |
Ci_Help.HELP_QM
The command for ?.
|
static SkbShellCommand |
Ci_History.HISTORY
The command for history using 'history'.
|
static SkbShellCommand |
Ci_History.HISTORY_EM
The command for history using '!' (exclamation mark).
|
static SkbShellCommand |
Ci_Exit.QUIT
The command for quit.
|
static SkbShellCommand |
Ci_ScRun.SC_INFO
The command for info on scripts.
|
static SkbShellCommand |
Ci_ScRun.SC_LS
The command for ls on scripts.
|
static SkbShellCommand |
Ci_ScRun.SC_RUN
The command for running scripts.
|
static SkbShellCommand |
Ci_Wait.WAIT
The command for wait.
|
| Modifier and Type | Method and Description |
|---|---|
static SkbShellCommand |
SkbShellFactory.newCommand(String command,
SkbShellArgument[] arguments,
SkbShellCommandCategory category,
String description,
String addedHelp)
Returns a new shell command, use the factory to create one.
|
static SkbShellCommand |
SkbShellFactory.newCommand(String command,
SkbShellArgument argument,
SkbShellCommandCategory category,
String description,
String addedHelp)
Returns a new shell command, use the factory to create one.
|
static SkbShellCommand |
SkbShellFactory.newCommand(String command,
SkbShellCommandCategory category,
String description,
String addedHelp)
Returns a new shell command without formal arguments, use the factory to create one.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,SkbShellCommand> |
CommandInterpreter.getCommands()
Returns the mapping of commands to
SkbShellCommand this interpreter does handle. |
Map<String,SkbShellCommand> |
AbstractCommandInterpreter.getCommands() |
| Constructor and Description |
|---|
AbstractCommandInterpreter(SkbShellCommand command)
Returns a new interpreter set for a single command.
|
AbstractCommandInterpreter(SkbShellCommand[] commands)
Returns a new interpreter set for an array of commands.
|
| Constructor and Description |
|---|
AbstractCommandInterpreter(Collection<SkbShellCommand> commands)
Returns a new interpreter set for a collection of commands.
|
Copyright © 2010–2017. All rights reserved.