public interface UserSettings
com.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.com.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.com.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 © 2015 Atlassian. All rights reserved.