Annotation Type Parameters


  • @Retention(RUNTIME)
    @Target(TYPE)
    @Inherited
    public @interface Parameters
    An annotation used to specify settings for parameter parsing.
    • Element Detail

      • resourceBundle

        java.lang.String resourceBundle
        The name of the resource bundle to use for this class.
        Default:
        ""
      • separators

        java.lang.String separators
        The character(s) that separate options.
        Default:
        " "
      • commandDescriptionKey

        java.lang.String commandDescriptionKey
        Returns:
        the key used to find the command description in the resource bundle.
        Default:
        ""
      • commandNames

        java.lang.String[] commandNames
        An array of allowed command names.
        Default:
        {}
      • hidden

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

        java.lang.Class<? extends IParametersValidator>[] parametersValidators
        Validate the value for all parameters.
        Default:
        {}