Enum Class Logger.PredefinedMessage

java.lang.Object
java.lang.Enum<Logger.PredefinedMessage>
me.tayebyassine.homestead.logs.Logger.PredefinedMessage
All Implemented Interfaces:
Serializable, Comparable<Logger.PredefinedMessage>, Constable
Enclosing class:
Logger

public static enum Logger.PredefinedMessage extends Enum<Logger.PredefinedMessage>
Pre-defined log messages for common plugin events.
  • Enum Constant Details

    • WORLDGUARD_PLUGIN_NOT_FOUND

      public static final Logger.PredefinedMessage WORLDGUARD_PLUGIN_NOT_FOUND
      WorldGuard plugin not found.
    • ECONOMY_INTEGRATION_DISABLED

      public static final Logger.PredefinedMessage ECONOMY_INTEGRATION_DISABLED
      Economy integration disabled.
    • UPDATE_FOUND

      public static final Logger.PredefinedMessage UPDATE_FOUND
      Update available notification.
    • UPDATE_LATEST

      public static final Logger.PredefinedMessage UPDATE_LATEST
      Already on the latest version.
    • UPDATE_FETCH_FAILURE

      public static final Logger.PredefinedMessage UPDATE_FETCH_FAILURE
      Failed to fetch update information.
  • Method Details

    • values

      public static Logger.PredefinedMessage[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Logger.PredefinedMessage valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getStrings

      public String[] getStrings()
      Get the message lines.
      Returns:
      the message strings