@Service public class PositiveInteger extends Object implements org.jvnet.hk2.config.DataType
| Constructor and Description |
|---|
PositiveInteger() |
| Modifier and Type | Method and Description |
|---|---|
void |
validate(String value)
Validates the given value as a positive integer.
|
public void validate(String value) throws org.jvnet.hk2.config.ValidationException
validate in interface org.jvnet.hk2.config.DataTypevalue - org.jvnet.hk2.config.ValidationExceptionCopyright © 2017–2020 Eclipse Foundation. All rights reserved.