public class LimitedStringValidator extends FilledStringValidator
| Constructor and Description |
|---|
LimitedStringValidator(int minLength,
int maxLength) |
| Modifier and Type | Method and Description |
|---|---|
ValidationResult |
validate(Object value)
Validates: applies the validation from FilledStringValidator and also check that value's length
is between the minimum and maximum length passed to the constructor.
|
public LimitedStringValidator(int minLength,
int maxLength)
public ValidationResult validate(Object value)
validate in interface Validatorvalidate in class FilledStringValidatorvalue - The object to checkCopyright © 2012-2015 Graylog, Inc.. All Rights Reserved.