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 Details

    • DefaultMessageCollection

      public DefaultMessageCollection()
  • Method Details

    • addMessage

      public void addMessage(String key, 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 List<com.atlassian.sal.api.message.Message> getMessages()
      Specified by:
      getMessages in interface com.atlassian.sal.api.message.MessageCollection
    • addAll

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

      public String toString()
      Overrides:
      toString in class Object