Annotation Interface LegacyChecks


@Target(TYPE) @Retention(RUNTIME) public @interface LegacyChecks
Annotation to handle legacy validators tests in order to map them to the new ICheck-based mechanizm. This annotation is applied to he legacy validator classes.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Prefix to be used in generation of the check ID by method name
    boolean
    Defines the value indicating whether the check will include top object.
    The top object class name.
  • Element Details

    • checkIdPrefix

      String checkIdPrefix
      Prefix to be used in generation of the check ID by method name
      Returns:
      the check id prefix, cannot be null
      Default:
      ""
    • topObject

      String topObject
      The top object class name. Defines the top object class name to be used in validation. May be overridden by the method annotation LegacyCheck value if provided
      Returns:
      the top object class name, cannot be null, can be empty
      Default:
      ""
    • includeTop

      boolean includeTop
      Defines the value indicating whether the check will include top object. May be overridden by the method annotation LegacyCheck value if provided
      Returns:
      include top value, cannot be null
      Default:
      true