Class CommandParser.AstCommandParser

java.lang.Object
org.springframework.shell.command.CommandParser.AstCommandParser
All Implemented Interfaces:
CommandParser
Enclosing interface:
CommandParser

public static class CommandParser.AstCommandParser extends Object implements CommandParser
Default implementation of a CommandParser.
  • Constructor Details

  • Method Details

    • parse

      Description copied from interface: CommandParser
      Parse options with a given arguments. May throw various runtime exceptions depending how parser is configure. For example if required option is missing an exception is thrown.
      Specified by:
      parse in interface CommandParser
      Parameters:
      args - the arguments
      Returns:
      parsed results