public interface CommandInterpreter
| Modifier and Type | Method and Description |
|---|---|
Map<String,SkbShellCommand> |
getCommands()
Returns the mapping of commands to
SkbShellCommand this interpreter does handle. |
Set<String> |
getCommandStrings()
Returns the set of commands this interpreter does handle.
|
int |
interpretCommand(String command,
LineParser lp,
MessageMgr mm)
Interprets the given command.
|
int interpretCommand(String command, LineParser lp, MessageMgr mm)
command - command for interpretationlp - a parser with the whole command linemm - the message manager to use for reporting errors, warnings, and infosSet<String> getCommandStrings()
Map<String,SkbShellCommand> getCommands()
SkbShellCommand this interpreter does handle.Copyright © 2010–2017. All rights reserved.