public static class ConnectionManager.IntConnectOptionValue extends ConnectionManager.ConnectOptionValue
| Modifier and Type | Field and Description |
|---|---|
private int |
value
option value
|
| Constructor and Description |
|---|
IntConnectOptionValue(int value)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
intValue()
Get integer value of the option.
|
java.lang.String |
toString()
Returns a string representation of the object.
|
java.lang.Class<?> |
type()
Get type of the option.
|
java.util.Optional<java.lang.String> |
value()
Get string value of the option wrapped in Optional.
|
boolValue, option, textValuepublic IntConnectOptionValue(int value)
value - option value.public java.lang.Class<?> type()
type in class ConnectionManager.ConnectOptionValuepublic int intValue()
intValue in class ConnectionManager.ConnectOptionValuepublic java.util.Optional<java.lang.String> value()
value in class ConnectionManager.ConnectOptionValuepublic java.lang.String toString()
toString in class java.lang.Object