public interface UserSettings
| Modifier and Type | Method and Description |
|---|---|
io.atlassian.fugue.Option<Boolean> |
getBoolean(String key) |
Set<String> |
getKeys() |
io.atlassian.fugue.Option<Long> |
getLong(String key) |
io.atlassian.fugue.Option<String> |
getString(String key) |
io.atlassian.fugue.Option<String> getString(String key)
key - the setting key being queriedSome containing the String stored against key if one exists (and is a String),
a Option.none() otherwise.IllegalArgumentException - if key is null or longer than UserSettingsService.MAX_KEY_LENGTH characters.io.atlassian.fugue.Option<Boolean> getBoolean(String key)
key - the setting key being queriedSome containing the Boolean stored against key if one exists (and is a Boolean),
a Option.none() otherwise.IllegalArgumentException - if key is null or longer than UserSettingsService.MAX_KEY_LENGTH characters.io.atlassian.fugue.Option<Long> getLong(String key)
key - the setting key being queriedSome containing the Long stored against key if one exists (and is a Long),
a Option.none() otherwise.IllegalArgumentException - if key is null or longer than UserSettingsService.MAX_KEY_LENGTH characters.Copyright © 2018 Atlassian. All rights reserved.