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

    Modifier and Type
    Method
    Description
    Returns the names of the message arguments in their declared order.
    default List<MessageArg>
    Returns the list of message arguments.
    Returns the types of the message arguments in their declared order.
    boolean
    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

      default List<MessageArg> getArgs()
      Returns the list of message arguments.
      Returns:
      the list of message arguments