Annotation Type DynamicParameter

    • Element Detail

      • names

        String[] names
        An array of allowed command line parameters (e.g. "-D", "--define", etc...).
        Default:
        {}
      • required

        boolean required
        Whether this option is required.
        Default:
        false
      • description

        String description
        A description of this option.
        Default:
        ""
      • descriptionKey

        String descriptionKey
        The key used to find the string in the message bundle.
        Default:
        ""
      • hidden

        boolean hidden
        If true, this parameter won't appear in the usage().
        Default:
        false
      • validateWith

        Class<? extends IParameterValidator>[] validateWith
        The validation classes to use.
        Default:
        {com.beust.jcommander.validators.NoValidator.class}
      • assignment

        String assignment
        The character(s) used to assign the values.
        Default:
        "="
      • validateValueWith

        Class<? extends IValueValidator>[] validateValueWith
        Default:
        {com.beust.jcommander.validators.NoValueValidator.class}