Package com.atlassian.jira.message
Interface MessageUtil.Factory
- All Known Implementing Classes:
MessageUtilFactory
,MockMessageUtilFactory
- Enclosing interface:
- MessageUtil
@ParametersAreNonnullByDefault
public static interface MessageUtil.Factory
-
Method Summary
Modifier and TypeMethodDescriptionCreate aMessageUtil
for the current logged-in user.Create aMessageUtil
using the specified user's locale.getNewInstance
(Locale locale) Create aMessageUtil
using the specified locale.
-
Method Details
-
getNewInstance
MessageUtil getNewInstance()Create aMessageUtil
for the current logged-in user.- Returns:
- MessageUtil set to the locale of the current logged-in user.
-
getNewInstance
Create aMessageUtil
using the specified user's locale.- Returns:
- MessageUtil set to the locale of the specified user.
-
getNewInstance
Create aMessageUtil
using the specified locale.- Returns:
- MessageUtil based on the specified locale.
-