Interface CommandParser.CommandParserResult
- All Known Implementing Classes:
CommandParser.DefaultCommandParserResult
- Enclosing interface:
- CommandParser
public static interface CommandParser.CommandParserResult
Result of a parsing
CommandOption with an argument.-
Method Summary
Modifier and TypeMethodDescriptionof(CommandOption option, Object value) Gets an instance of a defaultCommandParser.CommandParserResult.option()Gets theCommandOption.value()Gets the value.
-
Method Details
-
option
CommandOption option()Gets theCommandOption.- Returns:
- the command option
-
value
Object value()Gets the value.- Returns:
- the value
-
of
Gets an instance of a defaultCommandParser.CommandParserResult.- Parameters:
option- the command optionvalue- the value- Returns:
- a result
-