public class MessageUtilFactory extends Object implements MessageUtil.Factory
MessageUtil
.Constructor and Description |
---|
MessageUtilFactory(JiraAuthenticationContext context,
I18nHelper.BeanFactory i1BeanFactory,
ExternalLinkUtil externalLinkUtil,
HelpUrls helpUrls,
BaseUrl baseUrl) |
Modifier and Type | Method and Description |
---|---|
MessageUtil |
getNewInstance()
Create a
MessageUtil for the current logged-in user. |
MessageUtil |
getNewInstance(ApplicationUser user)
Create a
MessageUtil using the specified user's locale. |
MessageUtil |
getNewInstance(Locale locale)
Create a
MessageUtil using the specified locale. |
public MessageUtilFactory(JiraAuthenticationContext context, I18nHelper.BeanFactory i1BeanFactory, ExternalLinkUtil externalLinkUtil, HelpUrls helpUrls, BaseUrl baseUrl)
public MessageUtil getNewInstance()
MessageUtil.Factory
MessageUtil
for the current logged-in user.getNewInstance
in interface MessageUtil.Factory
public MessageUtil getNewInstance(ApplicationUser user)
MessageUtil.Factory
MessageUtil
using the specified user's locale.getNewInstance
in interface MessageUtil.Factory
public MessageUtil getNewInstance(Locale locale)
MessageUtil.Factory
MessageUtil
using the specified locale.getNewInstance
in interface MessageUtil.Factory
Copyright © 2002-2015 Atlassian. All Rights Reserved.