程序包 org.bukkit.permissions

# 类 PermissionAttachmentInfo

java.lang.Object
org.bukkit.permissions.PermissionAttachmentInfo

public class PermissionAttachmentInfo extends Object
Holds information on a permission and which `PermissionAttachment` provides it

- ## 构造器概要

  构造器
  构造器
  说明
  `PermissionAttachmentInfo(@NotNull Permissible permissible, @NotNull String permission, @Nullable PermissionAttachment attachment, boolean value)`

- ## 方法概要

  修饰符和类型
  方法
  说明
  `@Nullable PermissionAttachment`
  `getAttachment()`
  Gets the attachment providing this permission.
  `@NotNull Permissible`
  `getPermissible()`
  Gets the permissible this is attached to
  `@NotNull String`
  `getPermission()`
  Gets the permission being set
  `boolean`
  `getValue()`
  Gets the value of this permission

  ### 从类继承的方法 java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 构造器详细资料

  - ### PermissionAttachmentInfo

    public PermissionAttachmentInfo(@NotNull @NotNull Permissible permissible, @NotNull @NotNull String permission, @Nullable @Nullable PermissionAttachment attachment, boolean value)

- ## 方法详细资料

  - ### getPermissible

    @NotNull public @NotNull Permissible getPermissible()
    Gets the permissible this is attached to
    返回:
      Permissible this permission is for

  - ### getPermission

    @NotNull public @NotNull String getPermission()
    Gets the permission being set
    返回:
      Name of the permission

  - ### getAttachment

    @Nullable public @Nullable PermissionAttachment getAttachment()
    Gets the attachment providing this permission. This may be null for default permissions (usually parent permissions).
    返回:
      Attachment

  - ### getValue

    public boolean getValue()
    Gets the value of this permission
    返回:
      Value of the permission