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       * @return the i18n message key
13       */
14      String getKey();
15  
16      /**
17       * @return the arguments to insert into the resolved message
18       */
19      Serializable[] getArguments();
20  }