Package 

Class Asserter

    • Constructor Summary

      Constructors 
      Constructor Description
      Asserter(Validator validator)
    • Method Summary

      Modifier and Type Method Description
      <T> void isValid(T object, Array<Class<out Object>> groups) Asserts that all all constraints on {@code object} is valid.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Asserter

        Asserter(Validator validator)
    • Method Detail

      • isValid

         <T> void isValid(T object, Array<Class<out Object>> groups)

        Asserts that all all constraints on {@code object} is valid.

        Parameters:
        object - object to validate
        groups - the group or list of groups targeted for validation (defaults toDefault)