Package com.atlassian.bamboo.utils
Class MessageCollectionImpl
java.lang.Object
com.atlassian.bamboo.utils.MessageCollectionImpl
- All Implemented Interfaces:
MessageCollection
,Serializable
,Iterable<String>
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addMessage
(@NotNull String message) Add message.void
addMessages
(@NotNull MessageCollection messages) Add messages in bulk.@NotNull Collection<String>
iterator()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
MessageCollectionImpl
public MessageCollectionImpl()
-
-
Method Details
-
addMessages
Description copied from interface:MessageCollection
Add messages in bulk.- Specified by:
addMessages
in interfaceMessageCollection
- Parameters:
messages
- to be added
-
addMessage
Description copied from interface:MessageCollection
Add message.- Specified by:
addMessage
in interfaceMessageCollection
- Parameters:
message
- to be added
-
getMessages
- Specified by:
getMessages
in interfaceMessageCollection
- Returns:
- messages
-
iterator
-