public class NoOpReindexMessageManager extends Object implements ReindexMessageManager
ReindexMessageManager that can be used in setup bootstrap mode time with a thinner
container. This component breaks dependency chain for instantiating
JiraPluginManager.DISMISSAL_FLAG| Constructor and Description |
|---|
NoOpReindexMessageManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears any current message.
|
void |
clearMessageForTimestamp(Date time)
Clears message if it was posted before a specific time
|
String |
getMessage(ApplicationUser user)
Get current message localised for given user.
|
ReindexMessage |
getMessageObject()
Get current message object for given user.
|
void |
pushMessage(ApplicationUser user,
String i18nTask)
Pushes a new message.
|
void |
pushRawMessage(ApplicationUser user,
String i18nTask)
Pushes a new raw message.
|
public void pushMessage(ApplicationUser user, String i18nTask)
ReindexMessageManagerpushMessage 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 pushRawMessage(ApplicationUser user, String i18nTask)
ReindexMessageManagerpushRawMessage 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 message being performed.public void clear()
ReindexMessageManagerclear in interface ReindexMessageManagerpublic String getMessage(ApplicationUser user)
ReindexMessageManagergetMessage in interface ReindexMessageManageruser - the current userpublic ReindexMessage getMessageObject()
ReindexMessageManagergetMessageObject in interface ReindexMessageManagerpublic void clearMessageForTimestamp(Date time)
ReindexMessageManagerclearMessageForTimestamp in interface ReindexMessageManagertime - If the message was posted before this time it will be cleared.Copyright © 2002-2024 Atlassian. All Rights Reserved.