public abstract class DirectoryValidator extends Object implements Validator<Directory>
Directory implementations| Constructor 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)
Directoryi18nHelper - instance of i18helper to get the message from supplied keysCopyright © 2020 Atlassian. All rights reserved.