Package com.priint.pubserver.validation
Annotation Interface ValidVersion
@Constraint(validatedBy={})
@Target({METHOD,FIELD,ANNOTATION_TYPE})
@Retention(RUNTIME)
@Pattern(regexp="\\d{1,5}(\\.\\d{1,5}){0,3}(\\..*)?")
@ReportAsSingleViolation
@Size(min=1,
max=64)
public @interface ValidVersion
A version string for PubServer identifying the SDK or any plug-in version.
This is a non empty string consisting of 1 to 4 groups of digits followed by an optional group of arbitrary characters.
The groups are delimited by dot characters: e.g. "2", or "1.0.0.0.r_s uvw".
-
Optional Element Summary
Optional Elements