public class MessageCollectionImpl extends Object implements MessageCollection
Constructor and Description |
---|
MessageCollectionImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addMessage(String message)
Add message.
|
void |
addMessages(MessageCollection messages)
Add messages in bulk.
|
Collection<String> |
getMessages() |
Iterator<String> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public void addMessages(@NotNull MessageCollection messages)
MessageCollection
addMessages
in interface MessageCollection
messages
- to be addedpublic void addMessage(@NotNull String message)
MessageCollection
addMessage
in interface MessageCollection
message
- to be added@NotNull public Collection<String> getMessages()
getMessages
in interface MessageCollection
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.