Class Message


  • public final class Message
    extends Object
    Configurable messages
    • Constructor Detail

      • Message

        public Message​(@NotNull
                       @NotNull String key,
                       @NotNull
                       @NotNull String defaultValue)
        Construct a new message
        Parameters:
        key - The message key, used as a path in the configuration file
        defaultValue - The default message
    • Method Detail

      • getKey

        @NotNull
        public @NotNull String getKey()
        Get the configuration key
        Returns:
        Configuration key
      • getDefaultValue

        @NotNull
        public @NotNull String getDefaultValue()
        Get the default message
        Returns:
        Default message