Interface Validator<T>

Type Parameters:
T - the type of the validator
All Known Implementing Classes:
IntgerRangeValidator, StringValueListValidator

public interface Validator<T>
Author:
Joern Muehlencord (joern@muehlencord.de)
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    validate(T value)
    validates the parameter value
  • Method Details

    • validate

      void validate(T value) throws ValidationException
      validates the parameter value
      Parameters:
      value - the value of the parameter to validate
      Throws:
      ValidationException - if the value is not valid according to the validator configuration