public class CommandParser extends Object implements Parser<CliSession.Action>
| Constructor and Description |
|---|
CommandParser() |
| Modifier and Type | Method and Description |
|---|---|
CliSession.Action |
parse(ParseSession parseSession,
ParseContext ctx,
boolean complete)
Parse a command and return the corresponding
CliSession.Action. |
public CliSession.Action parse(ParseSession parseSession, ParseContext ctx, boolean complete)
CliSession.Action.parse in interface Parser<CliSession.Action>IllegalArgumentException - if session is not a CliSessionCopyright © 2016. All rights reserved.