View Javadoc

1   package com.atlassian.sal.api.message;
2   
3   import java.io.Serializable;
4   
5   /**
6    * Encapsulates a message before it has been resolved via an I18N resolver
7    *
8    * @since 2.0
9    */
10  public interface Message extends Serializable
11  {
12      /**
13       * @return the i18n message key
14       */
15      String getKey();
16  
17      /**
18       * @return the arguments to insert into the resolved message
19       */
20      Serializable[] getArguments();
21  }