# Serialized Form

- ## Package org.apache.commons.cli

  - ### Exception org.apache.commons.cli.AlreadySelectedException

    class AlreadySelectedException extends ParseException implements Serializable
    serialVersionUID:
      3674381532418544760L

    - #### Serialized Fields

      - ##### group

            OptionGroup group

        The option group selected.

      - ##### option

            Option option

        The option that triggered the exception.

  - ### Exception org.apache.commons.cli.AmbiguousOptionException

    class AmbiguousOptionException extends UnrecognizedOptionException implements Serializable
    serialVersionUID:
      5829816121277947229L

    - #### Serialized Fields

      - ##### matchingOptions

            Collection<String> matchingOptions

        The list of options matching the partial name specified

  - ### Class org.apache.commons.cli.CommandLine

    class CommandLine extends Object implements Serializable
    serialVersionUID:
      1L

    - #### Serialized Fields

      - ##### args

            List<String> args

        The unrecognized options/arguments

      - ##### options

            List<Option> options

        The processed options

  - ### Exception org.apache.commons.cli.MissingArgumentException

    class MissingArgumentException extends ParseException implements Serializable
    serialVersionUID:
      -7098538588704965017L

    - #### Serialized Fields

      - ##### option

            Option option

        The option requiring additional arguments

  - ### Exception org.apache.commons.cli.MissingOptionException

    class MissingOptionException extends ParseException implements Serializable
    serialVersionUID:
      8161889051578563249L

    - #### Serialized Fields

      - ##### missingOptions

            List missingOptions

        The list of missing options and groups

  - ### Class org.apache.commons.cli.Option

    class Option extends Object implements Serializable
    serialVersionUID:
      1L

    - #### Serialized Fields

      - ##### argCount

            int argCount

        The number of argument values this option can have.

      - ##### argName

            String argName

        The name of the argument for this option.

      - ##### description

            String description

        Description of the option.

      - ##### longOption

            String longOption

        The long representation of the option.

      - ##### option

            String option

        The name of the option.

      - ##### optionalArg

            boolean optionalArg

        Specifies whether the argument value of this Option is optional.

      - ##### required

            boolean required

        Specifies whether this option is required to be present.

      - ##### type

            Class<?> type

        The type of this Option.

      - ##### values

            List<String> values

        The list of argument values.

      - ##### valuesep

            char valuesep

        The character that is the value separator.

  - ### Class org.apache.commons.cli.OptionGroup

    class OptionGroup extends Object implements Serializable
    serialVersionUID:
      1L

    - #### Serialized Fields

      - ##### optionMap

            Map<String,Option> optionMap

        Hold the options

      - ##### required

            boolean required

        Specified whether this group is required

      - ##### selected

            String selected

        The name of the selected option

  - ### Class org.apache.commons.cli.Options

    class Options extends Object implements Serializable
    serialVersionUID:
      1L

    - #### Serialized Fields

      - ##### longOpts

            Map<String,Option> longOpts

        A map of the options with the long key

      - ##### optionGroups

            Map<String,OptionGroup> optionGroups

        A map of the option groups

      - ##### requiredOpts

            List<Object> requiredOpts

        A map of the required options

      - ##### shortOpts

            Map<String,Option> shortOpts

        A map of the options with the character key

  - ### Exception org.apache.commons.cli.ParseException

    class ParseException extends Exception implements Serializable
    serialVersionUID:
      9112808380089253192L

  - ### Exception org.apache.commons.cli.UnrecognizedOptionException

    class UnrecognizedOptionException extends ParseException implements Serializable
    serialVersionUID:
      -252504690284625623L

    - #### Serialized Fields

      - ##### option

            String option

        The unrecognized option.