Enum Class Logger.PredefinedMessage
- All Implemented Interfaces:
Serializable, Comparable<Logger.PredefinedMessage>, Constable
- Enclosing class:
Logger
Pre-defined log messages for common plugin events.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEconomy integration disabled.Failed to fetch update information.Update available notification.Already on the latest version.WorldGuard plugin not found. -
Method Summary
Modifier and TypeMethodDescriptionString[]Get the message lines.static Logger.PredefinedMessageReturns the enum constant of this class with the specified name.static Logger.PredefinedMessage[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
WORLDGUARD_PLUGIN_NOT_FOUND
WorldGuard plugin not found. -
ECONOMY_INTEGRATION_DISABLED
Economy integration disabled. -
UPDATE_FOUND
Update available notification. -
UPDATE_LATEST
Already on the latest version. -
UPDATE_FETCH_FAILURE
Failed to fetch update information.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getStrings
-