Annotation Type Constraint


@Documented @Target({PARAMETER,FIELD}) @Retention(CLASS) public @interface Constraint
It allows to mark either field or parameter by some expression. Constraint must contain X as the value and be defined in JEXL format.
Since:
1.0
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Constraint.
  • Element Details

    • value

      String value
      Constraint.
      Returns:
      text represents constraint condition
      Since:
      1.0