public abstract class AbstractMessageManager extends Object implements MessageManager
Constructor and Description |
---|
AbstractMessageManager() |
Modifier and Type | Method and Description |
---|---|
void |
addMessage(Message message)
Add a message
|
List<Message> |
getMessages()
Gets all messages
|
void |
removeMessage(String id)
Removes a message
|
protected abstract Map<String,Message> |
retrieveEntries() |
protected abstract void |
saveEntries(Map<String,Message> messages) |
public List<Message> getMessages()
MessageManager
getMessages
in interface MessageManager
public void removeMessage(String id)
MessageManager
removeMessage
in interface MessageManager
id
- The message idpublic void addMessage(Message message)
MessageManager
addMessage
in interface MessageManager
message
- The messageCopyright © 2003–2016 Atlassian. All rights reserved.