jargs.gnu

## Class CmdLineParser.Option.BooleanOption

- java.lang.Object
- - jargs.gnu.CmdLineParser.Option
  - - jargs.gnu.CmdLineParser.Option.BooleanOption

- All Implemented Interfaces:
    Serializable
  Enclosing class:
    CmdLineParser.Option

      public static class CmdLineParser.Option.BooleanOption
      extends CmdLineParser.Option

  The Class BooleanOption.
  See Also:
    Serialized Form

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class jargs.gnu.CmdLineParser.Option

      `CmdLineParser.Option.BooleanOption, CmdLineParser.Option.DoubleOption, CmdLineParser.Option.IntegerOption, CmdLineParser.Option.LongOption, CmdLineParser.Option.StringOption`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `BooleanOption(char shortForm, String longForm)` Instantiates a new boolean option.
    `BooleanOption(String longForm)` Instantiates a new boolean option.

  - ### Method Summary

    - ### Methods inherited from class jargs.gnu.CmdLineParser.Option

      `getValue, longForm, parseValue, shortForm, wantsValue`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### BooleanOption

          public BooleanOption(char shortForm,
                               String longForm)

      Instantiates a new boolean option.
      Parameters:
        `shortForm` - the short form
        `longForm` - the long form

    - #### BooleanOption

          public BooleanOption(String longForm)

      Instantiates a new boolean option.
      Parameters:
        `longForm` - the long form

Copyright © 2009–2018 Jeremy Landis. All rights reserved.