Bukkit  1.4.7-R1.0
 All Classes Namespaces Files Functions Variables Enumerator Pages
org.bukkit.permissions.PermissionAttachmentInfo Class Reference

Holds information on a permission and which PermissionAttachment provides it. More...

Public Member Functions

 PermissionAttachmentInfo (Permissible permissible, String permission, PermissionAttachment attachment, boolean value)
 
Permissible getPermissible ()
 Gets the permissible this is attached to.
 
String getPermission ()
 Gets the permission being set.
 
PermissionAttachment getAttachment ()
 Gets the attachment providing this permission.
 
boolean getValue ()
 Gets the value of this permission.
 

Detailed Description

Holds information on a permission and which PermissionAttachment provides it.

Definition at line 6 of file PermissionAttachmentInfo.java.

Constructor & Destructor Documentation

org.bukkit.permissions.PermissionAttachmentInfo.PermissionAttachmentInfo ( Permissible  permissible,
String  permission,
PermissionAttachment  attachment,
boolean  value 
)

Definition at line 12 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 49 of file PermissionAttachmentInfo.java.

Permissible org.bukkit.permissions.PermissionAttachmentInfo.getPermissible ( )

Gets the permissible this is attached to.

Returns
Permissible this permission is for

Definition at line 30 of file PermissionAttachmentInfo.java.

String org.bukkit.permissions.PermissionAttachmentInfo.getPermission ( )

Gets the permission being set.

Returns
Name of the permission

Definition at line 39 of file PermissionAttachmentInfo.java.

boolean org.bukkit.permissions.PermissionAttachmentInfo.getValue ( )

Gets the value of this permission.

Returns
Value of the permission

Definition at line 58 of file PermissionAttachmentInfo.java.


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