public class BooleanRioSetting extends AbstractRioSetting<Boolean>
RioSetting with a Boolean value. The given default for the setting can be overridden by means of a
System property with a name equal to the setting key, and a string value of "true" or "false" (ignoring case).| Constructor and Description |
|---|
BooleanRioSetting(String key,
String description,
Boolean defaultValue)
Creates a new boolean
RioSetting. |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
convert(String stringValue)
Converts a String to a Boolean
|
equals, getDefaultValue, getDescription, getKey, hashCodepublic BooleanRioSetting(String key, String description, Boolean defaultValue)
RioSetting.key - A unique key to use for this setting.description - A short human-readable description for this setting.defaultValue - An immutable value specifying the default for this setting.public Boolean convert(String stringValue)
stringValue - a string representation of a value for this setting.true, otherwise false.Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.