Range
Specifies a valid numeric range for a field.
When validating the loaded configuration, the field value will be checked to ensure it falls within the defined range (inclusive). If the value is out of range, an error will be raised.
Example:
@Range(min = 1, max = 100)
int threadCount;Content copied to clipboard