Interface Validator

All Known Implementing Classes:
AbstractIntervalFormValidator, CandidatesValidator, DateTimeIntervalFormValidator, DefaultValidator, FileFormValidator, LocalDateIntervalFormValidator, NameForFormValidator, NumberIntervalFormValidator, ReferenceValidator, RegexpValidator, RichTextValidator, SQLDatabaseTypeValidator, TextValidator

public interface Validator
Validator for parameters values
  • Method Details

    • validate

      void validate(Object value, Errors errors)
      Validates a value.
      Parameters:
      value - the value to validate (can be null).
      errors - the structure to populate if the validation failed.
    • getConfiguration

      Retrieves the configuration of the validator.
      Returns:
      a map containing the configuration information.