@ParametersAreNonnullByDefault public static interface

MessageUtil.Factory

com.atlassian.jira.message.MessageUtil.Factory
Known Indirect Subclasses

Summary

Public Methods
MessageUtil getNewInstance()
Create a MessageUtil for the current logged-in user.
MessageUtil getNewInstance(Locale locale)
Create a MessageUtil using the specified locale.
MessageUtil getNewInstance(ApplicationUser user)
Create a MessageUtil using the specified user's locale.

Public Methods

public MessageUtil getNewInstance ()

Create a MessageUtil for the current logged-in user.

Returns
  • MessageUtil set to the locale of the current logged-in user.

public MessageUtil getNewInstance (Locale locale)

Create a MessageUtil using the specified locale.

Returns
  • MessageUtil based on the specified locale.

public MessageUtil getNewInstance (ApplicationUser user)

Create a MessageUtil using the specified user's locale.

Returns
  • MessageUtil set to the locale of the specified user.