Annotation Interface NumberRange


@SupportedAll @Retention(RUNTIME) @Target(METHOD) public @interface NumberRange
An annotation which tags a configuration method as representing a number range.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    Returns the maximum value of the attribute.
    int
    Returns the minimum value of the attribute.
  • Element Details

    • rangeStart

      int rangeStart
      Returns the minimum value of the attribute. If not provided the default is 0.
      Returns:
      the attribute minimum value.
      Default:
      0
    • rangeEnd

      int rangeEnd
      Returns the maximum value of the attribute. If not provided the default is Integer.MAX_VALUE;
      Returns:
      the attribute maximum value.
      Default:
      2147483647