com.atlassian.confluence.api.model.messages
Interface Message

All Known Implementing Classes:
SimpleMessage

@ExperimentalApi
public interface Message

Contains an key and array of arguments for conversion to an internationalised string.


Method Summary
 java.lang.Object[] getArgs()
           
 java.lang.String getKey()
           
 java.lang.String getTranslation()
           
 

Method Detail

getKey

java.lang.String getKey()
Returns:
the i18n key of this message

getArgs

java.lang.Object[] getArgs()
Returns:
the arguments to this message. May be null or an empty array.

getTranslation

java.lang.String getTranslation()
Returns:
the translated message, may be null if this message has not been translated yet.


Copyright © 2003-2014 Atlassian. All Rights Reserved.