Interface Validator<T>

  • All Known Implementing Classes:
    SpringValidator

    public interface Validator<T>
    Interface used to validate objects.
    Author:
    tomas.slanina
    • Method Detail

      • validate

        void validate​(T value)
               throws ValidationException
        Method used to validate if the value is valid.
        Parameters:
        value - object to be validated
        Throws:
        ValidationException - if value is not valid.