public static class ConnectionManager.TextConnectOptionValue extends ConnectionManager.ConnectOptionValue
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
value
option value
|
Constructor and Description |
---|
TextConnectOptionValue(java.lang.String value)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
textValue()
Get text 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, intValue, option
public TextConnectOptionValue(java.lang.String value)
value
- option value.public java.lang.Class<?> type()
type
in class ConnectionManager.ConnectOptionValue
public java.lang.String textValue()
textValue
in class ConnectionManager.ConnectOptionValue
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Optional<java.lang.String> value()
value
in class ConnectionManager.ConnectOptionValue