protected static class JCloudsProperties.PortValueValidator extends Object implements ValueValidator<Integer>
| Modifier | Constructor and Description |
|---|---|
protected |
PortValueValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
validate(Integer 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.
|
public void validate(Integer value) throws ValidationException
ValueValidatorvalidate in interface ValueValidator<Integer>value - the value to be testedValidationException - if validation failedCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.