public class Ci_History extends AbstractCommandInterpreter
| Modifier and Type | Field and Description |
|---|---|
static SkbShellCommand |
HISTORY
The command for history using 'history'.
|
static SkbShellCommand |
HISTORY_EM
The command for history using '!' (exclamation mark).
|
protected SkbShell |
skbsh
Link to the calling shell to retrieve history from.
|
| Constructor and Description |
|---|
Ci_History(SkbShell skbsh)
Returns an new 'history' command interpreter.
|
| Modifier and Type | Method and Description |
|---|---|
int |
interpretCommand(String command,
LineParser lp,
MessageMgr mm)
Interprets the given command.
|
getCommands, getCommandStringspublic static final SkbShellCommand HISTORY
public static final SkbShellCommand HISTORY_EM
protected final SkbShell skbsh
public Ci_History(SkbShell skbsh)
skbsh - the calling shell to retrieve history information fromIllegalArgumentException - if the parameter is nullpublic int interpretCommand(String command, LineParser lp, MessageMgr mm)
CommandInterpretercommand - command for interpretationlp - a parser with the whole command linemm - the message manager to use for reporting errors, warnings, and infosCopyright © 2010–2017. All rights reserved.