com.atlassian.jira.mock.i18n
Class MockI18nHelper.MockI18nHelperFactory
java.lang.Object
com.atlassian.jira.mock.i18n.MockI18nHelper.MockI18nHelperFactory
- All Implemented Interfaces:
- I18nHelper.BeanFactory
- Enclosing class:
- MockI18nHelper
public class MockI18nHelper.MockI18nHelperFactory
- extends Object
- implements I18nHelper.BeanFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockI18nHelper.MockI18nHelperFactory
public MockI18nHelper.MockI18nHelperFactory()
getInstance
public I18nHelper getInstance(Locale locale)
- Description copied from interface:
I18nHelper.BeanFactory
- Returns an
I18nHelper
instance associated with the provided Locale
. Note that since JIRA 6.0
you can have an I18nHelper
injected directly into your class, and it will be specific to the
currently logged in user.
- Specified by:
getInstance
in interface I18nHelper.BeanFactory
- Parameters:
locale
- the locale in play
- Returns:
- an
I18nHelper
instance associated with the provided Locale
- See Also:
I18nHelper
getInstance
public I18nHelper getInstance(com.atlassian.crowd.embedded.api.User user)
- Description copied from interface:
I18nHelper.BeanFactory
- Returns an
I18nHelper
instance associated with the provided User
's locale preference. Note
that since JIRA 6.0 you can have an I18nHelper
injected directly into your class, and it will be
specific to the currently logged in user.
- Specified by:
getInstance
in interface I18nHelper.BeanFactory
- Parameters:
user
- the user in play
- Returns:
- an
I18nHelper
instance associated with the provided User
's locale preference - See Also:
I18nHelper
getInstance
public I18nHelper getInstance(ApplicationUser user)
- Description copied from interface:
I18nHelper.BeanFactory
- Returns an
I18nHelper
instance associated with the provided User
's locale preference. Note
that since JIRA 6.0 you can have an I18nHelper
injected directly into your class, and it will be
specific to the currently logged in user.
- Specified by:
getInstance
in interface I18nHelper.BeanFactory
- Parameters:
user
- the user in play
- Returns:
- an
I18nHelper
instance associated with the provided User
's locale preference - See Also:
I18nHelper
Copyright © 2002-2014 Atlassian. All Rights Reserved.