Enum Class CommandPermission

java.lang.Object
java.lang.Enum<CommandPermission>
net.jeqo.bloons.commands.manager.types.CommandPermission
All Implemented Interfaces:
Serializable, Comparable<CommandPermission>, Constable

public enum CommandPermission extends Enum<CommandPermission>
The permissions required to execute a command
  • Enum Constant Details

    • EQUIP

      public static final CommandPermission EQUIP
      The permission required to equip a balloon
    • UNEQUIP

      public static final CommandPermission UNEQUIP
      The permission required to unequip a balloon
    • FORCE

      public static final CommandPermission FORCE
      The permission required to force equip or force unequip a balloon
    • RELOAD

      public static final CommandPermission RELOAD
      The permission required to reload the plugin
  • Method Details

    • values

      public static CommandPermission[] 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 CommandPermission 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