Package com.atlassian.jira.user
Class BootstrapUserLocaleStore
java.lang.Object
com.atlassian.jira.user.BootstrapUserLocaleStore
- All Implemented Interfaces:
UserLocaleStore
Used when JIRA has no access to the database. At that stage each user will be using the JIRA default locale.
The implementation will be replaced with a complete implementation once JIRA is in a state to do so.
- Since:
- v6.2.3.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn theLocale
to use for a user without a locale.getLocale
(ApplicationUser user) Return theLocale
associated with the passed user.
-
Constructor Details
-
BootstrapUserLocaleStore
-
-
Method Details
-
getLocale
Description copied from interface:UserLocaleStore
Return theLocale
associated with the passed user.- Specified by:
getLocale
in interfaceUserLocaleStore
- Parameters:
user
- the user for the query.- Returns:
- the
Locale
associated with the passed user.
-
getDefaultLocale
Description copied from interface:UserLocaleStore
Return theLocale
to use for a user without a locale.- Specified by:
getDefaultLocale
in interfaceUserLocaleStore
- Returns:
- the default locale of JIRA.
-