Annotation Type 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.3.0
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    double
    The minimal value allowed (inclusive).
    double
    The maximal value allowed (inclusive).
  • Element Details

    • from

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

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