@Service public final class Port extends Object implements org.jvnet.hk2.config.DataType
| Constructor and Description |
|---|
Port() |
| Modifier and Type | Method and Description |
|---|---|
void |
validate(String value)
Checks if given string represents a port.
|
public void validate(String value) throws org.jvnet.hk2.config.ValidationException
validate in interface org.jvnet.hk2.config.DataTypevalue - represents the value of the port.org.jvnet.hk2.config.ValidationException - if the value does not represent
integer value.Copyright © 2017–2020 Eclipse Foundation. All rights reserved.