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 invalid input: '<'[email protected]>
See Also:
  • Optional Element Summary

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

    • separator

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