com.atlassian.jira.config
Interface ReindexMessageManager

All Known Implementing Classes:
DefaultReindexMessageManager

public interface ReindexMessageManager

Manages messages for JIRA's administration section that inform users of the need to reindex due to configuration changes.

Since:
v4.0

Method Summary
 void clear()
          Clears any current message.
 java.lang.String getMessage(com.opensymphony.user.User user)
           
 void pushMessage(com.opensymphony.user.User user, java.lang.String i18nTask)
          Pushes a new message.
 

Method Detail

pushMessage

void pushMessage(com.opensymphony.user.User user,
                 java.lang.String i18nTask)
Pushes a new message. This will replace any existing messages.

Parameters:
user - the user performing the task.
i18nTask - the i18n key of the task being performed.

clear

void clear()
Clears any current message.


getMessage

java.lang.String getMessage(com.opensymphony.user.User user)
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-2010 Atlassian. All Rights Reserved.