## Uses of Class
picocli.CommandLine.Model.ArgSpec

- Packages that use CommandLine.Model.ArgSpec
  Package | Description
  --- | ---
  picocli | Provides classes and interfaces for the main picocli command line parsing and `autocompletion` functionality.

- - ### Uses of CommandLine.Model.ArgSpec in picocli

    Subclasses of CommandLine.Model.ArgSpec in picocli
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `CommandLine.Model.OptionSpec` The `OptionSpec` class models aspects of a named option of a command, including whether it is required or optional, the option parameters supported (or required) by the option, and attributes for the usage help message describing the option.
    `static class` | `CommandLine.Model.PositionalParamSpec` The `PositionalParamSpec` class models aspects of a positional parameter of a command, including whether it is required or optional, and attributes for the usage help message describing the positional parameter.

    Methods in picocli that return CommandLine.Model.ArgSpec
    Modifier and Type | Method and Description
    --- | ---
    `CommandLine.Model.ArgSpec` | CommandLine.ParameterException.`getArgSpec()` Returns the `ArgSpec` object for the (sub)command whose input could not be parsed.
    `CommandLine.Model.ArgSpec` | CommandLine.OverwrittenOptionException.`getOverwritten()` Returns the `CommandLine.Model.ArgSpec` for the option which was being overwritten.
    `CommandLine.Model.ArgSpec` | CommandLine.Model.ArgSpec.`messages(CommandLine.Model.Messages msgs)` Sets the Messages for this ArgSpec, and returns this ArgSpec.

    Methods in picocli that return types with arguments of type CommandLine.Model.ArgSpec
    Modifier and Type | Method and Description
    --- | ---
    `List<CommandLine.Model.ArgSpec>` | CommandLine.Model.CommandSpec.`args()` Returns the list of all options and positional parameters configured for this command.
    `List<CommandLine.Model.ArgSpec>` | CommandLine.MissingParameterException.`getMissing()`
    `List<CommandLine.Model.ArgSpec>` | CommandLine.Model.CommandSpec.`requiredArgs()` Returns the list of required options and positional parameters configured for this command.

    Methods in picocli with parameters of type CommandLine.Model.ArgSpec
    Modifier and Type | Method and Description
    --- | ---
    `CommandLine.Model.CommandSpec` | CommandLine.Model.CommandSpec.`add(CommandLine.Model.ArgSpec arg)` Adds the specified option spec or positional parameter spec to the list of configured arguments to expect.
    `CommandLine.ParseResult.Builder` | CommandLine.ParseResult.Builder.`add(CommandLine.Model.ArgSpec arg, int position)` Adds the specified `OptionSpec` or `PositionalParamSpec` to the list of options and parameters that were matched on the command line.
    `String` | CommandLine.IDefaultValueProvider.`defaultValue(CommandLine.Model.ArgSpec argSpec)` Returns the default value for an option or positional parameter or `null`.
    `protected boolean` | CommandLine.Model.ArgSpec.`equalsImpl(CommandLine.Model.ArgSpec other)`
    `void` | CommandLine.Help.Layout.`layout(CommandLine.Model.ArgSpec argSpec, CommandLine.Help.Ansi.Text[][] cellValues)` Copies the specified text values into the correct cells in the `CommandLine.Help.TextTable`.
    `CommandLine.Help.Ansi.Text` | CommandLine.Help.IParamLabelRenderer.`renderParameterLabel(CommandLine.Model.ArgSpec argSpec, CommandLine.Help.Ansi ansi, List<CommandLine.Help.Ansi.IStyle> styles)` Returns a text rendering of the option parameter or positional parameter; returns an empty string `""` if the option is a boolean and does not take a parameter.

    Constructors in picocli with parameters of type CommandLine.Model.ArgSpec
    Constructor and Description
    `MissingParameterException(CommandLine commandLine, CommandLine.Model.ArgSpec missing, String msg)`
    `OverwrittenOptionException(CommandLine commandLine, CommandLine.Model.ArgSpec overwritten, String msg)`
    `ParameterException(CommandLine commandLine, String msg, CommandLine.Model.ArgSpec argSpec, String value)` Constructs a new ParameterException with the specified CommandLine and error message.
    `ParameterException(CommandLine commandLine, String msg, Throwable t, CommandLine.Model.ArgSpec argSpec, String value)` Constructs a new ParameterException with the specified CommandLine and error message.

    Constructor parameters in picocli with type arguments of type CommandLine.Model.ArgSpec
    Constructor and Description
    `MissingParameterException(CommandLine commandLine, Collection<CommandLine.Model.ArgSpec> missing, String msg)`

Copyright © 2020. All rights reserved.