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, textValue
public IntConnectOptionValue(int value)
value
- option value.public java.lang.Class<?> type()
type
in class ConnectionManager.ConnectOptionValue
public int intValue()
intValue
in class ConnectionManager.ConnectOptionValue
public java.util.Optional<java.lang.String> value()
value
in class ConnectionManager.ConnectOptionValue
public java.lang.String toString()
toString
in class java.lang.Object