public class CommandListParser extends Object implements Parser<List<CliSession.Action>>
| Constructor and Description |
|---|
CommandListParser(Parser<CliSession.Action> commandParser)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<CliSession.Action> |
parse(ParseSession session,
ParseContext ctx,
boolean complete)
Parse one or more commands and return the
CliSession.Actions corresponding to the parsed commands. |
public CommandListParser(Parser<CliSession.Action> commandParser)
commandParser - single command parserpublic List<CliSession.Action> parse(ParseSession session, ParseContext ctx, boolean complete)
CliSession.Actions corresponding to the parsed commands.parse in interface Parser<List<CliSession.Action>>Copyright © 2016. All rights reserved.