Annotation Type StringRange
-
@Retention(RUNTIME) @Target(METHOD) public @interface StringRange
This annotation limits the values that a config node can have. Because of annotation limits, there is an annotation for:decimals,numericsandString length.When the String is null, the range validation is skipped. Use
Requiredif null shouldn't be allowed.- Since:
- 4.2.0