public class DirectoryValidatorFactoryImpl extends Object implements DirectoryValidatorFactory
Constructor and Description |
---|
DirectoryValidatorFactoryImpl(I18nHelper i18nHelper) |
Modifier and Type | Method and Description |
---|---|
Validator<Directory> |
getValidator(DirectoryType directoryType,
EnumSet<DirectoryValidationContext> directoryValidationContexts)
Creates instance of Directory validator with the given validation context and returns it
|
public DirectoryValidatorFactoryImpl(I18nHelper i18nHelper)
public Validator<Directory> getValidator(DirectoryType directoryType, EnumSet<DirectoryValidationContext> directoryValidationContexts)
DirectoryValidatorFactory
getValidator
in interface DirectoryValidatorFactory
directoryType
- Type of directory whose validator is requireddirectoryValidationContexts
- Set of DirectoryValidationContext
according to which validator is constructedValidator
instance which will validate directoryType
Copyright © 2021 Atlassian. All rights reserved.