Annotation Type ParsedAsList


  • @Target(METHOD)
    @Retention(RUNTIME)
    public @interface ParsedAsList
    Annotates a setter to be called with the value of a command line option. The setter must also have been annotated with Option.

    When annotated with ParsedAsList, the option value is parsed as a list. The value is split and then each segment is trimmed.

    Author:
    Clement Escoffier
    See Also:
    Option
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String separator
      The separator used to split the value.
    • Element Detail

      • separator

        String separator
        The separator used to split the value. , is used by default.
        Default:
        ","