Class CommandParser


  • public class CommandParser
    extends org.kohsuke.args4j.CmdLineParser
    Parser which remembers the parsed command to have additional context information to produce help output.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Command command  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) Command getCommand()  
      • Methods inherited from class org.kohsuke.args4j.CmdLineParser

        addArgument, addOption, createOptionHandler, getArguments, getOptions, getProperties, isOption, parseArgument, parseArgument, printExample, printExample, printExample, printExample, printOption, printSingleLineUsage, printSingleLineUsage, printUsage, printUsage, printUsage, registerHandler, setUsageWidth, stopOptionParsing
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • command

        private final Command command
    • Constructor Detail

      • CommandParser

        CommandParser​(Command command)
    • Method Detail