Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.permissions.PermissionAttachmentInfo Class Reference

Public Member Functions

 PermissionAttachmentInfo (Permissible permissible, String permission, PermissionAttachment attachment, boolean value)
 
Permissible getPermissible ()
 
String getPermission ()
 
PermissionAttachment getAttachment ()
 
boolean getValue ()
 

Detailed Description

Holds information on a permission and which PermissionAttachment provides it

Definition at line 7 of file PermissionAttachmentInfo.java.

Member Function Documentation

PermissionAttachment org.bukkit.permissions.PermissionAttachmentInfo.getAttachment ( )

Gets the attachment providing this permission. This may be null for default permissions (usually parent permissions).

Returns
Attachment

Definition at line 50 of file PermissionAttachmentInfo.java.

50  {
51  return attachment;
52  }
Permissible org.bukkit.permissions.PermissionAttachmentInfo.getPermissible ( )

Gets the permissible this is attached to

Returns
Permissible this permission is for

Definition at line 31 of file PermissionAttachmentInfo.java.

31  {
32  return permissible;
33  }
String org.bukkit.permissions.PermissionAttachmentInfo.getPermission ( )

Gets the permission being set

Returns
Name of the permission

Definition at line 40 of file PermissionAttachmentInfo.java.

40  {
41  return permission;
42  }
boolean org.bukkit.permissions.PermissionAttachmentInfo.getValue ( )

Gets the value of this permission

Returns
Value of the permission

Definition at line 59 of file PermissionAttachmentInfo.java.

59  {
60  return value;
61  }

The documentation for this class was generated from the following file: