Package com.atlassian.bamboo.sal.message
Class DefaultMessageCollection
java.lang.Object
com.atlassian.bamboo.sal.message.DefaultMessageCollection
- All Implemented Interfaces:
com.atlassian.sal.api.message.MessageCollection
public class DefaultMessageCollection
extends Object
implements com.atlassian.sal.api.message.MessageCollection
TODO force OSGi to load properly i18nResolver component exported by atlassian-bamboo-sal-message plugin and remove this class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addMessage
(com.atlassian.sal.api.message.Message message) void
addMessage
(String key, Serializable... arguments) List<com.atlassian.sal.api.message.Message>
boolean
isEmpty()
toString()
-
Constructor Details
-
DefaultMessageCollection
public DefaultMessageCollection()
-
-
Method Details
-
addMessage
- Specified by:
addMessage
in interfacecom.atlassian.sal.api.message.MessageCollection
-
addMessage
public void addMessage(com.atlassian.sal.api.message.Message message) - Specified by:
addMessage
in interfacecom.atlassian.sal.api.message.MessageCollection
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfacecom.atlassian.sal.api.message.MessageCollection
-
getMessages
- Specified by:
getMessages
in interfacecom.atlassian.sal.api.message.MessageCollection
-
addAll
- Specified by:
addAll
in interfacecom.atlassian.sal.api.message.MessageCollection
-
toString
-