Annotation Type Range


@Retention(RUNTIME) @Target(PARAMETER) public @interface Range
Used to specify min and max values of numerical parsers
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    @NonNull String
    Maximum value accepted by the parser
    @NonNull String
    Minimum value accepted by the parser
  • Element Details

    • min

      @NonNull String min
      Minimum value accepted by the parser
      Returns:
      String serialized number
      Default:
      ""
    • max

      @NonNull String max
      Maximum value accepted by the parser
      Returns:
      String serialized number
      Default:
      ""