T
- type of the element to be testedpublic interface ValueValidator<T extends Comparable<T>>
Modifier and Type | Method and Description |
---|---|
void |
validate(T value)
Validates the given value according to the defined validation logic
and throws a ValidationException if configuration does not meet the
requirements or logical errors are spotted.
|
void validate(T value) throws ValidationException
value
- the value to be testedValidationException
- if validation failedCopyright © 2017 Hazelcast, Inc.. All Rights Reserved.