Annotation Type Option

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String name
      The short name of the option.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String defaultValue
      The default value of the option.
      String description
      The description of the option (used by the help command).
      boolean hasArgument
      If the option has an argument (i.e.
      String longName
      The long name of the option.
      boolean mandatory
      If the command is mandatory.
    • Element Detail

      • name

        String name
        The short name of the option.
      • hasArgument

        boolean hasArgument
        If the option has an argument (i.e. value).
        Default:
        false
      • longName

        String longName
        The long name of the option.
        Default:
        ""
      • description

        String description
        The description of the option (used by the help command).
        Default:
        ""
      • mandatory

        boolean mandatory
        If the command is mandatory.
        Default:
        false
      • defaultValue

        String defaultValue
        The default value of the option.
        Default:
        ""