Enum Class Groups

java.lang.Object
java.lang.Enum<Groups>
me.totalfreedom.security.Groups
All Implemented Interfaces:
Serializable, Comparable<Groups>, Constable

public enum Groups extends Enum<Groups>
  • Enum Constant Details

    • NON_OP

      public static final Groups NON_OP
    • OP

      public static final Groups OP
    • SUPER_ADMIN

      public static final Groups SUPER_ADMIN
    • SENIOR_ADMIN

      public static final Groups SENIOR_ADMIN
    • DEVELOPER

      public static final Groups DEVELOPER
    • EXECUTIVE

      public static final Groups EXECUTIVE
    • OWNER

      public static final Groups OWNER
  • Method Details

    • values

      public static Groups[] 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 Groups 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
    • getName

      public String getName()
    • getPermission

      public String getPermission()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Groups>
    • fromPlayer

      public static String fromPlayer(org.bukkit.entity.Player player)
    • fromSender

      public static String fromSender(org.bukkit.command.CommandSender sender)