Annotation Type ValidMachineWidth


@Documented
@Retention(RUNTIME)
@Target({METHOD,FIELD,PARAMETER,TYPE_USE})
@Positive
@Max(256L)
@Constraint(validatedBy={})
@ReportAsSingleViolation
public @interface ValidMachineWidth
Validates that a machine's width (in chips) is in a sane range.
Author:
Donal Fellows
  • Optional Element Summary

    Optional Elements 
    Modifier and Type Optional Element Description
    String message
    Message on constraint violated.
  • Element Details

    • message

      String message
      Message on constraint violated.
      Returns:
      Message
      Default:
      "machine width (${validatedValue}) must be at least 1 and no more than 256"