public interface DefaultMessageCollector
An interface that collects default messages.
-
Method Summary
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