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 aMessageUtilfor the current logged-in user.Create aMessageUtilusing the specified user's locale.getNewInstance(Locale locale) Create aMessageUtilusing the specified locale.
-
Method Details
-
getNewInstance
MessageUtil getNewInstance()Create aMessageUtilfor the current logged-in user.- Returns:
- MessageUtil set to the locale of the current logged-in user.
-
getNewInstance
Create aMessageUtilusing the specified user's locale.- Returns:
- MessageUtil set to the locale of the specified user.
-
getNewInstance
Create aMessageUtilusing the specified locale.- Returns:
- MessageUtil based on the specified locale.
-