public static class ConnectionManager.BoolConnectOptionValue extends ConnectionManager.ConnectOptionValue
Modifier and Type | Field and Description |
---|---|
private boolean |
value
option value
|
Constructor and Description |
---|
BoolConnectOptionValue(boolean value)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
boolValue()
Get boolean 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.
|
intValue, option, textValue
public BoolConnectOptionValue(boolean value)
value
- option value.public java.lang.Class<?> type()
type
in class ConnectionManager.ConnectOptionValue
public boolean boolValue()
boolValue
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