Class DirectoryValidatorFactoryImpl
java.lang.Object
com.atlassian.crowd.embedded.validator.impl.DirectoryValidatorFactoryImpl
- All Implemented Interfaces:
DirectoryValidatorFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetValidator
(DirectoryType directoryType, EnumSet<DirectoryValidationContext> directoryValidationContexts) Creates instance of Directory validator with the given validation context and returns it
-
Constructor Details
-
DirectoryValidatorFactoryImpl
-
-
Method Details
-
getValidator
public Validator<Directory> getValidator(DirectoryType directoryType, EnumSet<DirectoryValidationContext> directoryValidationContexts) Description copied from interface:DirectoryValidatorFactory
Creates instance of Directory validator with the given validation context and returns it- Specified by:
getValidator
in interfaceDirectoryValidatorFactory
- Parameters:
directoryType
- Type of directory whose validator is requireddirectoryValidationContexts
- Set ofDirectoryValidationContext
according to which validator is constructed- Returns:
Validator
instance which will validatedirectoryType
-