|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@PublicApi public interface ReindexMessageManager
Manages messages for JIRA's administration section that inform users of the need to reindex due to configuration changes.
Method Summary | |
---|---|
void |
clear()
Clears any current message. |
void |
clearMessageForTimestamp(Date time)
Clears message if it was posted before a specific time |
String |
getMessage(com.atlassian.crowd.embedded.api.User user)
Get current message localised for given user. |
ReindexMessage |
getMessageObject()
Get current message object for given user. |
void |
pushMessage(com.atlassian.crowd.embedded.api.User user,
String i18nTask)
Pushes a new message. |
void |
pushRawMessage(com.atlassian.crowd.embedded.api.User user,
String i18nTask)
Pushes a new raw message. |
Method Detail |
---|
void pushMessage(com.atlassian.crowd.embedded.api.User user, String i18nTask)
user
- 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.void pushRawMessage(com.atlassian.crowd.embedded.api.User user, String i18nTask)
user
- 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.void clear()
String getMessage(com.atlassian.crowd.embedded.api.User user)
user
- the current user
ReindexMessage getMessageObject()
void clearMessageForTimestamp(Date time)
time
- If the message was posted before this time it will be cleared.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |