Class ValidatorMapKeys<K>

    • Method Detail

      • validate

        public ValidationResult validate​(Map<K,​?> map,
                                         Object valueSource)
        Description copied from interface: Validator
        This method validates the given value.
        Parameters:
        map - is the value to validate.
        valueSource - is the source describing the origin of the given value. The source needs to have a reasonable string-representation as this may be displayed to the end-user to locate the source of the failure. In most cases it is suitable to directly pass a String.
        Returns:
        the ValidationResult.