Interface CommandParser.CommandParserResults
- All Known Implementing Classes:
- CommandParser.DefaultCommandParserResults
- Enclosing interface:
- CommandParser
public static interface CommandParser.CommandParserResults
Results of a 
CommandParser. Basically contains a list of CommandParser.CommandParserResults.- 
Method SummaryModifier and TypeMethodDescriptionerrors()Gets parsing errors.of(CommandRegistration registration, List<CommandParser.CommandParserResult> results, List<String> positional, List<CommandParser.CommandParserException> errors) Gets an instance of a defaultCommandParser.CommandParserResults.Gets the unmapped positional arguments.Gets the registration.results()Gets the results.
- 
Method Details- 
registrationCommandRegistration registration()Gets the registration.- Returns:
- the registration
 
- 
resultsList<CommandParser.CommandParserResult> results()Gets the results.- Returns:
- the results
 
- 
positionalGets the unmapped positional arguments.- Returns:
- the unmapped positional arguments
 
- 
errorsList<CommandParser.CommandParserException> errors()Gets parsing errors.- Returns:
- the parsing errors
 
- 
ofstatic CommandParser.CommandParserResults of(CommandRegistration registration, List<CommandParser.CommandParserResult> results, List<String> positional, List<CommandParser.CommandParserException> errors) Gets an instance of a defaultCommandParser.CommandParserResults.- Parameters:
- registration- the registration
- results- the results
- positional- the list of positional arguments
- errors- the parsing errors
- Returns:
- a new instance of results
 
 
-