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

Base Permissible for use in any Permissible object via proxy or extension. More...

+ Inheritance diagram for org.bukkit.permissions.PermissibleBase:
+ Collaboration diagram for org.bukkit.permissions.PermissibleBase:

Public Member Functions

 PermissibleBase (ServerOperator opable)
 
boolean isOp ()
 
void setOp (boolean value)
 
boolean isPermissionSet (String name)
 
boolean isPermissionSet (Permission perm)
 
boolean hasPermission (String inName)
 
boolean hasPermission (Permission perm)
 
PermissionAttachment addAttachment (Plugin plugin, String name, boolean value)
 
PermissionAttachment addAttachment (Plugin plugin)
 
void removeAttachment (PermissionAttachment attachment)
 
void recalculatePermissions ()
 
synchronized void clearPermissions ()
 
PermissionAttachment addAttachment (Plugin plugin, String name, boolean value, int ticks)
 
PermissionAttachment addAttachment (Plugin plugin, int ticks)
 
Set< PermissionAttachmentInfogetEffectivePermissions ()
 
- Public Member Functions inherited from org.bukkit.permissions.Permissible
boolean isPermissionSet (String name)
 Checks if this object contains an override for the specified permission, by fully qualified name.
 
boolean isPermissionSet (Permission perm)
 Checks if this object contains an override for the specified Permission.
 
boolean hasPermission (String name)
 Gets the value of the specified permission, if set.
 
boolean hasPermission (Permission perm)
 Gets the value of the specified permission, if set.
 
PermissionAttachment addAttachment (Plugin plugin, String name, boolean value)
 Adds a new PermissionAttachment with a single permission by name and value.
 
PermissionAttachment addAttachment (Plugin plugin)
 Adds a new empty PermissionAttachment to this object.
 
PermissionAttachment addAttachment (Plugin plugin, String name, boolean value, int ticks)
 Temporarily adds a new PermissionAttachment with a single permission by name and value.
 
PermissionAttachment addAttachment (Plugin plugin, int ticks)
 Temporarily adds a new empty PermissionAttachment to this object.
 
void removeAttachment (PermissionAttachment attachment)
 Removes the given PermissionAttachment from this object.
 
void recalculatePermissions ()
 Recalculates the permissions for this object, if the attachments have changed values.
 
Set< PermissionAttachmentInfogetEffectivePermissions ()
 Gets a set containing all of the permissions currently in effect by this object.
 
- Public Member Functions inherited from org.bukkit.permissions.ServerOperator
boolean isOp ()
 Checks if this object is a server operator.
 
void setOp (boolean value)
 Sets the operator status of this object.
 

Detailed Description

Base Permissible for use in any Permissible object via proxy or extension.

Definition at line 16 of file PermissibleBase.java.

Constructor & Destructor Documentation

org.bukkit.permissions.PermissibleBase.PermissibleBase ( ServerOperator  opable)

Member Function Documentation

Set<PermissionAttachmentInfo> org.bukkit.permissions.PermissibleBase.getEffectivePermissions ( )

Definition at line 231 of file PermissibleBase.java.

boolean org.bukkit.permissions.PermissibleBase.isOp ( )
boolean org.bukkit.permissions.PermissibleBase.isPermissionSet ( String  name)
boolean org.bukkit.permissions.PermissibleBase.isPermissionSet ( Permission  perm)
void org.bukkit.permissions.PermissibleBase.setOp ( boolean  value)

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