Interface DirectoryValidatorFactory
- All Known Implementing Classes:
DirectoryValidatorFactoryImpl
public interface DirectoryValidatorFactory
Represents the factory for creating
Validator
instances- Since:
- 3.2.0
-
Method Summary
Modifier and TypeMethodDescriptiongetValidator
(DirectoryType directoryType, EnumSet<DirectoryValidationContext> directoryValidationContexts) Creates instance of Directory validator with the given validation context and returns it
-
Method Details
-
getValidator
Validator<Directory> getValidator(DirectoryType directoryType, EnumSet<DirectoryValidationContext> directoryValidationContexts) Creates instance of Directory validator with the given validation context and returns it- Parameters:
directoryType
- Type of directory whose validator is requireddirectoryValidationContexts
- Set ofDirectoryValidationContext
according to which validator is constructed- Returns:
Validator
instance which will validatedirectoryType
-