Interface Message<T extends Message>
- 
- All Superinterfaces:
- Comparable<T>
 - All Known Implementing Classes:
- BulkSimpleMessage,- SimpleMessage
 
 @ExperimentalApi public interface Message<T extends Message> extends Comparable<T> Contains an key and array of arguments for conversion to an internationalised string.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default intcompareTo(T message)Object[]getArgs()StringgetKey()StringgetTranslation()
 
- 
- 
- 
Method Detail- 
getKeyString getKey() - Returns:
- the i18n key of this message
 
 - 
getArgsObject[] getArgs() - Returns:
- the arguments to this message. May be null or an empty array.
 
 - 
getTranslationString getTranslation() - Returns:
- the translated message, may be null if this message has not been translated yet.
 
 - 
compareTodefault int compareTo(T message) - Specified by:
- compareToin interface- Comparable<T extends Message>
 
 
- 
 
-