Class CommandParser.DefaultCommandParserResult
java.lang.Object
org.springframework.shell.command.CommandParser.DefaultCommandParserResult
- All Implemented Interfaces:
CommandParser.CommandParserResult
- Enclosing interface:
- CommandParser
public static class CommandParser.DefaultCommandParserResult
extends Object
implements CommandParser.CommandParserResult
Default implementation of a
CommandParser.CommandParserResult
.-
Method Summary
-
Method Details
-
option
Description copied from interface:CommandParser.CommandParserResult
Gets theCommandOption
.- Specified by:
option
in interfaceCommandParser.CommandParserResult
- Returns:
- the command option
-
value
Description copied from interface:CommandParser.CommandParserResult
Gets the value.- Specified by:
value
in interfaceCommandParser.CommandParserResult
- Returns:
- the value
-