Class ConfigValidationUtils.NestableFieldValidator

    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void validateField​(java.lang.String name, java.lang.Object field)
      Validates the given field.
      abstract void validateField​(java.lang.String pd, java.lang.String name, java.lang.Object field)
      Validates the given field.
      • Methods inherited from class java.lang.Object

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

      • NestableFieldValidator

        public NestableFieldValidator()
    • Method Detail

      • validateField

        public void validateField​(java.lang.String name,
                                  java.lang.Object field)
                           throws java.lang.IllegalArgumentException
        Description copied from interface: ConfigValidationUtils.FieldValidator
        Validates the given field.
        Specified by:
        validateField in interface ConfigValidationUtils.FieldValidator
        Parameters:
        name - the name of the field.
        field - The field to be validated.
        Throws:
        java.lang.IllegalArgumentException - if the field fails validation.
      • validateField

        public abstract void validateField​(java.lang.String pd,
                                           java.lang.String name,
                                           java.lang.Object field)
                                    throws java.lang.IllegalArgumentException
        Validates the given field.
        Parameters:
        pd - describes the parent wrapping this validator.
        name - the name of the field.
        field - The field to be validated.
        Throws:
        java.lang.IllegalArgumentException - if the field fails validation.