public interface MessageCollection
Modifier and Type | Method and Description |
---|---|
void |
addAll(List<Message> messages)
Adds all messages to the collection
|
void |
addMessage(Message message)
Adds a message to the collection
|
void |
addMessage(String key,
Serializable... arguments)
Adds a message to the collection
|
List<Message> |
getMessages() |
boolean |
isEmpty() |
void addMessage(String key, Serializable... arguments)
key
- The i18n keyarguments
- The arguments to insert into the resolved messagevoid addMessage(Message message)
message
- the messagevoid addAll(List<Message> messages)
messages
- The list of messagesboolean isEmpty()
Copyright © 2015 Atlassian. All rights reserved.