com.atlassian.jira.config
Class DefaultReindexMessageManager
java.lang.Object
com.atlassian.jira.config.DefaultReindexMessageManager
- All Implemented Interfaces:
- ReindexMessageManager
public class DefaultReindexMessageManager
- extends Object
- implements ReindexMessageManager
Default implementation of the Reindex Message Manager that uses a simple PropertySet to store the last message
pushed.
- Since:
- v4.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultReindexMessageManager
public DefaultReindexMessageManager(JiraPropertySetFactory jiraPropertySetFactory,
UserFormatManager userFormatManager,
I18nHelper.BeanFactory i18nFactory,
OutlookDateManager outlookDateManager,
VelocityRequestContextFactory velocityRequestContextFactory)
pushMessage
public void pushMessage(User user,
String i18nTask)
- Description copied from interface:
ReindexMessageManager
- Pushes a new message. This will replace any existing messages.
- Specified by:
pushMessage
in interface ReindexMessageManager
- Parameters:
user
- the user performing the task.i18nTask
- the i18n key of the task being performed.
clear
public void clear()
- Description copied from interface:
ReindexMessageManager
- Clears any current message.
- Specified by:
clear
in interface ReindexMessageManager
getMessage
public String getMessage(User user)
- Specified by:
getMessage
in interface ReindexMessageManager
- Parameters:
user
- the current user
- Returns:
- the current message, localised for the current user, presented in HTML (and already escaped).
null if there is no current message.
Copyright © 2002-2009 Atlassian. All Rights Reserved.