- All Superinterfaces:
MessageKey
A message key with information about its arguments.
-
Field Summary
Fields inherited from interface de.codecamp.messages.MessageKey
TYPE_KEY_SUFFIX -
Method Summary
Modifier and TypeMethodDescriptionString[]Returns the names of the message arguments in their declared order.default List<MessageArg>getArgs()Returns the list of message arguments.String[]Returns the types of the message arguments in their declared order.booleanhasArgs()Returns whether the message key has arguments.Methods inherited from interface de.codecamp.messages.MessageKey
getCode
-
Method Details
-
hasArgs
boolean hasArgs()Returns whether the message key has arguments.- Returns:
- whether the message key has arguments
-
getArgTypes
String[] getArgTypes()Returns the types of the message arguments in their declared order.- Returns:
- the types of the message arguments in their declared order
-
getArgNames
String[] getArgNames()Returns the names of the message arguments in their declared order. The names may be null if none were declared.- Returns:
- the names of the message arguments in their declared order
-
getArgs
Returns the list of message arguments.- Returns:
- the list of message arguments
-