com.atlassian.crowd.directory.ldap.validator
Class ConnectorValidator

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

public class ConnectorValidator
extends Object

Aggregates errors for the list of validators


Constructor Summary
ConnectorValidator(List<Validator> validators)
           
 
Method Summary
 Set<String> getErrors(Directory directory)
          Gets the errors detected by the list of validators for the specified directory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectorValidator

public ConnectorValidator(List<Validator> validators)
Method Detail

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


Copyright © 2013 Atlassian. All Rights Reserved.