com.atlassian.bamboo.sal.message
Class DefaultMessageCollection

java.lang.Object
  extended by com.atlassian.bamboo.sal.message.DefaultMessageCollection
All Implemented Interfaces:
com.atlassian.sal.api.message.MessageCollection

public class DefaultMessageCollection
extends java.lang.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
DefaultMessageCollection()
           
 
Method Summary
 void addAll(java.util.List<com.atlassian.sal.api.message.Message> remoteMessages)
           
 void addMessage(com.atlassian.sal.api.message.Message message)
           
 void addMessage(java.lang.String key, java.io.Serializable... arguments)
           
 java.util.List<com.atlassian.sal.api.message.Message> getMessages()
           
 boolean isEmpty()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultMessageCollection

public DefaultMessageCollection()
Method Detail

addMessage

public void addMessage(java.lang.String key,
                       java.io.Serializable... arguments)
Specified by:
addMessage in interface com.atlassian.sal.api.message.MessageCollection

addMessage

public void addMessage(com.atlassian.sal.api.message.Message message)
Specified by:
addMessage in interface com.atlassian.sal.api.message.MessageCollection

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface com.atlassian.sal.api.message.MessageCollection

getMessages

public java.util.List<com.atlassian.sal.api.message.Message> getMessages()
Specified by:
getMessages in interface com.atlassian.sal.api.message.MessageCollection

addAll

public void addAll(java.util.List<com.atlassian.sal.api.message.Message> remoteMessages)
Specified by:
addAll in interface com.atlassian.sal.api.message.MessageCollection

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.