Package org.bukkit.permissions
Class PermissionAttachmentInfo
java.lang.Object
org.bukkit.permissions.PermissionAttachmentInfo
Holds information on a permission and which 
PermissionAttachment
 provides it- 
Constructor SummaryConstructorsConstructorDescriptionPermissionAttachmentInfo(Permissible permissible, String permission, PermissionAttachment attachment, boolean value) 
- 
Method SummaryModifier and TypeMethodDescriptionGets the attachment providing this permission.Gets the permissible this is attached toGets the permission being setbooleangetValue()Gets the value of this permission
- 
Constructor Details- 
PermissionAttachmentInfopublic PermissionAttachmentInfo(@NotNull Permissible permissible, @NotNull String permission, @Nullable PermissionAttachment attachment, boolean value) 
 
- 
- 
Method Details- 
getPermissibleGets the permissible this is attached to- Returns:
- Permissible this permission is for
 
- 
getPermissionGets the permission being set- Returns:
- Name of the permission
 
- 
getAttachmentGets the attachment providing this permission. This may be null for default permissions (usually parent permissions).- Returns:
- Attachment
 
- 
getValuepublic boolean getValue()Gets the value of this permission- Returns:
- Value of the permission
 
 
-