Interface Message<T extends Message>
- All Superinterfaces:
Comparable<T>
- All Known Implementing Classes:
BulkSimpleMessage
,SimpleMessage
Contains an key and array of arguments for conversion to an internationalised string.
-
Method Summary
-
Method Details
-
getKey
String getKey()- Returns:
- the i18n key of this message
-
getArgs
Object[] getArgs()- Returns:
- the arguments to this message. May be null or an empty array.
-
getTranslation
String getTranslation()- Returns:
- the translated message, may be null if this message has not been translated yet.
-
compareTo
- Specified by:
compareTo
in interfaceComparable<T extends Message>
-