public class DefaultUserSettings extends Object implements UserSettings
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultUserSettings.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UserSettingsBuilder |
builder() |
static UserSettingsBuilder |
builder(UserSettings userSettings) |
com.atlassian.fugue.Option<Boolean> |
getBoolean(String key) |
Set<String> |
getKeys() |
com.atlassian.fugue.Option<Long> |
getLong(String key) |
com.atlassian.fugue.Option<String> |
getString(String key) |
public com.atlassian.fugue.Option<String> getString(String key)
getString in interface UserSettingskey - the setting key being queriedSome containing the String stored against key if one exists (and is a String),
a Option.none() otherwise.public com.atlassian.fugue.Option<Boolean> getBoolean(String key)
getBoolean in interface UserSettingskey - the setting key being queriedSome containing the Boolean stored against key if one exists (and is a Boolean),
a Option.none() otherwise.public com.atlassian.fugue.Option<Long> getLong(String key)
getLong in interface UserSettingskey - the setting key being queriedSome containing the Long stored against key if one exists (and is a Long),
a Option.none() otherwise.public Set<String> getKeys()
getKeys in interface UserSettingspublic static UserSettingsBuilder builder()
public static UserSettingsBuilder builder(UserSettings userSettings)
Copyright © 2015 Atlassian. All rights reserved.