public class DefaultMessageCollection extends Object implements com.atlassian.sal.api.message.MessageCollection
Constructor and Description |
---|
DefaultMessageCollection() |
Modifier and Type | Method and Description |
---|---|
void |
addAll(List<com.atlassian.sal.api.message.Message> remoteMessages) |
void |
addMessage(com.atlassian.sal.api.message.Message message) |
void |
addMessage(String key,
Serializable... arguments) |
List<com.atlassian.sal.api.message.Message> |
getMessages() |
boolean |
isEmpty() |
String |
toString() |
public void addMessage(String key, Serializable... arguments)
addMessage
in interface com.atlassian.sal.api.message.MessageCollection
public void addMessage(com.atlassian.sal.api.message.Message message)
addMessage
in interface com.atlassian.sal.api.message.MessageCollection
public boolean isEmpty()
isEmpty
in interface com.atlassian.sal.api.message.MessageCollection
public List<com.atlassian.sal.api.message.Message> getMessages()
getMessages
in interface com.atlassian.sal.api.message.MessageCollection
public void addAll(List<com.atlassian.sal.api.message.Message> remoteMessages)
addAll
in interface com.atlassian.sal.api.message.MessageCollection
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.