Class Validation


  • public final class Validation
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static boolean VALIDATE_ALL  
    • Constructor Summary

      Constructors 
      Constructor Description
      Validation()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean shouldValidate​(java.lang.Class<?> klazz)  
      static void validate​(boolean assertion)  
      • Methods inherited from class java.lang.Object

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

      • VALIDATE_ALL

        private static final boolean VALIDATE_ALL
    • Constructor Detail

      • Validation

        public Validation()
    • Method Detail

      • shouldValidate

        public static boolean shouldValidate​(java.lang.Class<?> klazz)
      • validate

        public static void validate​(boolean assertion)