Class JCommander.MainParameter

java.lang.Object
com.beust.jcommander.JCommander.MainParameter
Enclosing class:
JCommander

static class JCommander.MainParameter extends Object
Description of a main parameter, which can be either a list of string or a single field. Both are subject to converters before being returned to the user.
  • Field Details

    • parameterized

      Parameterized parameterized
      This field/method will contain whatever command line parameter is not an option.
    • object

      Object object
      The object on which we found the main parameter field.
    • annotation

      private Parameter annotation
      The annotation found on the main parameter field.
    • description

      private ParameterDescription description
    • multipleValue

      private List<Object> multipleValue
      Non null if the main parameter is a List.
    • singleValue

      private Object singleValue
      The value of the single field, if it's not a List.
    • firstTimeMainParameter

      private boolean firstTimeMainParameter
  • Constructor Details

    • MainParameter

      MainParameter()
  • Method Details