Package cloud.commandframework.bukkit
Enum BukkitCommandManager.BrigadierFailureReason
- java.lang.Object
-
- java.lang.Enum<BukkitCommandManager.BrigadierFailureReason>
-
- cloud.commandframework.bukkit.BukkitCommandManager.BrigadierFailureReason
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BukkitCommandManager.BrigadierFailureReason>,java.lang.constant.Constable
- Enclosing class:
- BukkitCommandManager<C>
public static enum BukkitCommandManager.BrigadierFailureReason extends java.lang.Enum<BukkitCommandManager.BrigadierFailureReason>
Reasons to explain why Brigadier failed to initialize
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMODORE_NOT_PRESENTPAPER_BRIGADIER_INITIALIZATION_FAILUREVERSION_TOO_LOW
-
Method Summary
Modifier and Type Method Description static BukkitCommandManager.BrigadierFailureReasonvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static BukkitCommandManager.BrigadierFailureReason[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMMODORE_NOT_PRESENT
public static final BukkitCommandManager.BrigadierFailureReason COMMODORE_NOT_PRESENT
-
VERSION_TOO_LOW
public static final BukkitCommandManager.BrigadierFailureReason VERSION_TOO_LOW
-
PAPER_BRIGADIER_INITIALIZATION_FAILURE
public static final BukkitCommandManager.BrigadierFailureReason PAPER_BRIGADIER_INITIALIZATION_FAILURE
-
-
Method Detail
-
values
public static BukkitCommandManager.BrigadierFailureReason[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BukkitCommandManager.BrigadierFailureReason valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-