public abstract class DirectoryValidator extends Object implements Validator<Directory>
Directory
implementationsConstructor and Description |
---|
DirectoryValidator(I18nHelper i18nHelper) |
Modifier and Type | Method and Description |
---|---|
protected abstract List<ValidationRule<Directory>> |
initializeValidators(I18nHelper i18nHelper)
Returns the list of validation rules to be used for validating the
Directory |
List<ValidationError> |
validate(Directory entity)
Validates the Directory, against the rules supplied by the implementor of the interface
|
public DirectoryValidator(I18nHelper i18nHelper)
public List<ValidationError> validate(Directory entity)
protected abstract List<ValidationRule<Directory>> initializeValidators(I18nHelper i18nHelper)
Directory
i18nHelper
- instance of i18helper to get the message from supplied keysCopyright © 2021 Atlassian. All rights reserved.