Interface Validator<T>

Type Parameters:
T - Type of entity to be validated by this validator implementation
All Known Implementing Classes:
AzureADConnectionValidator, AzureADConnectorValidator, CompoundValidator, CustomDirectoryValidator, DelegatedDirectoryConnectionValidator, DirectoryValidator, InternalDirectoryValidator, LDAPConnectionValidator, LDAPConnectorValidator, LDAPGroupConfigValidator, LDAPGroupSearchConfigValidator, LDAPUserConfigValidator, LDAPUserSearchConfigValidator, MailServerValidator, RemoteCrowdConnectionValidator, RemoteCrowdConnectorValidator, SynchronisationSchedulingConfigValidator

public interface Validator<T>
Interface for the entity validators
Since:
3.2.0
  • Method Summary

    Modifier and Type
    Method
    Description
    validate(T entity)
    Will validate the given entity and return List generated during validation
  • Method Details

    • validate

      List<ValidationError> validate(T entity)
      Will validate the given entity and return List generated during validation
      Parameters:
      entity - Entity to be validated
      Returns:
      a List containing the errors or empty list if no error were generated