Interface Validator

All Known Implementing Classes:
ArrayValidator, IntervalValidator, MultiValidator, NotEmptyValidator, NotNullValidator, PatternValidator, TimeStampExtractor.DateInterpretationPatternValidator, TimeStampExtractor.FilenameInterpretationPatternValidator, TypeValidator, ValueSetValidator

public interface Validator
A Validator provides the strategy to validate a value with respect to a provided Property.
Since:
0.6
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    validateValue(Property property, Object value)
    Validates a value with respect to a provided property.
  • Method Details

    • validateValue

      void validateValue(Property property, Object value) throws ValidationException
      Validates a value with respect to a provided property.
      Parameters:
      property - The property.
      value - The value to be validated.
      Throws:
      ValidationException - If validation fails.