|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.util.message.DefaultMessageManager
public class DefaultMessageManager
Combines different message managers into one
Constructor Summary | |
---|---|
DefaultMessageManager(java.util.List<MessageManager> managers)
|
Method Summary | |
---|---|
void |
addMessage(Message message)
Add a message |
java.util.List<Message> |
getMessages()
Gets all messages |
void |
removeMessage(java.lang.String id)
Removes a message |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultMessageManager(java.util.List<MessageManager> managers)
Method Detail |
---|
public void addMessage(Message message)
MessageManager
addMessage
in interface MessageManager
message
- The messagepublic java.util.List<Message> getMessages()
MessageManager
getMessages
in interface MessageManager
public void removeMessage(java.lang.String id)
MessageManager
removeMessage
in interface MessageManager
id
- The message id
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |