|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.config.DefaultReindexMessageManager
public class DefaultReindexMessageManager
Default implementation of the Reindex Message Manager that uses a simple PropertySet to store the last message pushed.
| Constructor Summary | |
|---|---|
DefaultReindexMessageManager(JiraPropertySetFactory jiraPropertySetFactory,
UserFormatManager userFormatManager,
I18nHelper.BeanFactory i18nFactory,
OutlookDateManager outlookDateManager,
VelocityRequestContextFactory velocityRequestContextFactory,
com.atlassian.event.api.EventPublisher eventPublisher)
|
|
| Method Summary | |
|---|---|
void |
clear()
Clears any current message. |
String |
getMessage(com.atlassian.crowd.embedded.api.User user)
Get current message localised for given user. |
void |
onClearCache(ClearCacheEvent event)
|
void |
pushMessage(com.atlassian.crowd.embedded.api.User user,
String i18nTask)
Pushes a new message. |
void |
start()
This method wil be called after the plugin system is fully initialised and all components added to the dependency injection framework. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultReindexMessageManager(JiraPropertySetFactory jiraPropertySetFactory,
UserFormatManager userFormatManager,
I18nHelper.BeanFactory i18nFactory,
OutlookDateManager outlookDateManager,
VelocityRequestContextFactory velocityRequestContextFactory,
com.atlassian.event.api.EventPublisher eventPublisher)
| Method Detail |
|---|
public void start()
throws Exception
Startable
start in interface StartableException - Allows implementations to throw an Exception.@EventListener public void onClearCache(ClearCacheEvent event)
public void pushMessage(com.atlassian.crowd.embedded.api.User user,
String i18nTask)
ReindexMessageManager
pushMessage in interface ReindexMessageManageruser - the user performing the task. May be null, in which case a more generic
notification will be displayedi18nTask - the i18n key of the task being performed.public void clear()
ReindexMessageManager
clear in interface ReindexMessageManagerpublic String getMessage(com.atlassian.crowd.embedded.api.User user)
ReindexMessageManager
getMessage in interface ReindexMessageManageruser - the current user
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||