Class ConnectorValidator

java.lang.Object
com.atlassian.crowd.directory.ldap.validator.ConnectorValidator

public class ConnectorValidator extends Object
Aggregates errors for the list of validators
  • Constructor Details

    • ConnectorValidator

      public ConnectorValidator(List<Validator> validators)
  • Method Details

    • getErrors

      public Set<String> getErrors(Directory directory)
      Gets the errors detected by the list of validators for the specified directory
      Parameters:
      directory - a directory object.
      Returns:
      a list of aggregated errors or an empty list if there are no errors. Never returns null