Package de.codecamp.messages
Interface MessageKeyWithArgs
-
- All Superinterfaces:
MessageKey
public interface MessageKeyWithArgs extends MessageKey
A message key with information about its arguments.
-
-
Field Summary
-
Fields inherited from interface de.codecamp.messages.MessageKey
TYPE_KEY_SUFFIX
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description String[]getArgNames()Returns the names of the message arguments in their declared order.default List<MessageArg>getArgs()Returns the list of message arguments.String[]getArgTypes()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 Detail
-
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
default List<MessageArg> getArgs()
Returns the list of message arguments.- Returns:
- the list of message arguments
-
-