Package com.atlassian.jira.message
Class MessageUtilFactory
java.lang.Object
com.atlassian.jira.message.MessageUtilFactory
- All Implemented Interfaces:
MessageUtil.Factory
Factory responsible for creating a
MessageUtil.- Since:
- 7.0
-
Constructor Summary
ConstructorsConstructorDescriptionMessageUtilFactory(JiraAuthenticationContext context, I18nHelper.BeanFactory i1BeanFactory, ExternalLinkUtil externalLinkUtil, HelpUrls helpUrls, BaseUrl baseUrl) -
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.
-
Constructor Details
-
MessageUtilFactory
public MessageUtilFactory(JiraAuthenticationContext context, I18nHelper.BeanFactory i1BeanFactory, ExternalLinkUtil externalLinkUtil, HelpUrls helpUrls, BaseUrl baseUrl)
-
-
Method Details
-
getNewInstance
Description copied from interface:MessageUtil.FactoryCreate aMessageUtilfor the current logged-in user.- Specified by:
getNewInstancein interfaceMessageUtil.Factory- Returns:
- MessageUtil set to the locale of the current logged-in user.
-
getNewInstance
Description copied from interface:MessageUtil.FactoryCreate aMessageUtilusing the specified user's locale.- Specified by:
getNewInstancein interfaceMessageUtil.Factory- Returns:
- MessageUtil set to the locale of the specified user.
-
getNewInstance
Description copied from interface:MessageUtil.FactoryCreate aMessageUtilusing the specified locale.- Specified by:
getNewInstancein interfaceMessageUtil.Factory- Returns:
- MessageUtil based on the specified locale.
-