Annotation Type DecimalRange


  • @Retention(RUNTIME)
    @Target(METHOD)
    public @interface DecimalRange
    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
      double from
      The minimal value allowed (inclusive.)
      double to
      The maximal value allowed (inclusive.)
    • Element Detail

      • from

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

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