Annotation Type NumericRange


  • @Retention(RUNTIME)
    @Target(METHOD)
    public @interface NumericRange
    This annotation limits the values that a config node can have. Because of annotation limits, there is an annotation for: decimals, numerics and String length.
    Since:
    4.2.0
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      long from
      The minimal value allowed (inclusive.)
      long to
      The maximal value allowed (inclusive.)
    • Element Detail

      • from

        long from
        The minimal value allowed (inclusive.)
        Returns:
        the minimal value allowed (inclusive.)
        Since:
        4.2.0
      • to

        long to
        The maximal value allowed (inclusive.)
        Returns:
        the maximal value allowed (inclusive.)
        Since:
        4.2.0