public class OptionalStringValidator extends Object implements Validator
| Constructor and Description |
|---|
OptionalStringValidator() |
| Modifier and Type | Method and Description |
|---|---|
ValidationResult |
validate(Object value)
Validates: Object is null or of type String.
|
public ValidationResult validate(Object value)
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.