Interface DefaultMessageCollector


public interface DefaultMessageCollector
An interface that collects default messages.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull String
    add(@NotNull String key, @NotNull String defaultMessage)
    Adds a default message with the key.
  • Method Details

    • add

      @Contract("_, _ -> param1") @NotNull @NotNull String add(@NotNull @NotNull String key, @NotNull @NotNull String defaultMessage)
      Adds a default message with the key.
      Parameters:
      key - a key of message
      defaultMessage - a default message
      Returns:
      the given key