Enum Class CheckOrigin

java.lang.Object
java.lang.Enum<CheckOrigin>
me.lucko.luckperms.common.verbose.event.CheckOrigin
All Implemented Interfaces:
Serializable, Comparable<CheckOrigin>, java.lang.constant.Constable

public enum CheckOrigin extends Enum<CheckOrigin>
Represents the origin of a meta check
  • Enum Constant Details

    • PLATFORM_API

      public static final CheckOrigin PLATFORM_API
      Indicates the check was caused by a lookup in a platform API
    • PLATFORM_API_HAS_PERMISSION

      public static final CheckOrigin PLATFORM_API_HAS_PERMISSION
      Indicates the check was caused by a 'hasPermission' check on the platform
    • PLATFORM_API_HAS_PERMISSION_SET

      public static final CheckOrigin PLATFORM_API_HAS_PERMISSION_SET
      Indicates the check was caused by a 'hasPermissionSet' type check on the platform
    • THIRD_PARTY_API

      public static final CheckOrigin THIRD_PARTY_API
      Indicates the check was caused by a 3rd party API call
    • LUCKPERMS_API

      public static final CheckOrigin LUCKPERMS_API
      Indicates the check was caused by a LuckPerms API call
    • INTERNAL

      public static final CheckOrigin INTERNAL
      Indicates the check was caused by a LuckPerms internal
  • Method Details

    • values

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