Annotation Interface ValidMachineHeight
@Documented
@Retention(RUNTIME)
@Target({METHOD,FIELD,PARAMETER,TYPE_USE})
@Positive
@Max(256L)
@Constraint(validatedBy={})
@ReportAsSingleViolation
public @interface ValidMachineHeight
Validates that a machine's height (in chips) is in a sane range.
- Author:
- Donal Fellows
-
Optional Element Summary
Optional Elements
-
Element Details
-
message
String messageMessage on constraint violated.- Returns:
- Message
- Default:
- "machine height (${validatedValue}) must be at least 1 and no more than 256"
-