Class ObjectPermission
java.lang.Object
net.ME1312.SubServers.Client.Sponge.Library.ObjectPermission
Object Permissions Class
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Determine if an object can perform some action on another object using possible permissionsstatic boolean
Determine if an object can perform some action on a host using possible permissionsstatic boolean
Determine if an object can perform some action on this proxy using possible permissionsstatic boolean
Determine if an object can perform some action on a server using possible permissions
-
Method Details
-
permits
Determine if an object can perform some action on this proxy using possible permissions- Parameters:
proxy
- Proxy to check againstobject
- Object to check againstpermissions
- Permissions to check (use % as a placeholder for the proxy name)- Returns:
- Permission Check Result
-
permits
Determine if an object can perform some action on a host using possible permissions- Parameters:
host
- Host to check againstobject
- Object to check againstpermissions
- Permissions to check (use % as a placeholder for the host name)- Returns:
- Permission Check Result
-
permits
Determine if an object can perform some action on another object using possible permissions- Parameters:
string
- String to check againstobject
- Object to check againstpermissions
- Permissions to check (use % as a placeholder for the object name)- Returns:
- Permission Check Result
-
permits
Determine if an object can perform some action on a server using possible permissions- Parameters:
server
- Server to check againstobject
- Object to check againstpermissions
- Permissions to check (use % as a placeholder for the server name)- Returns:
- Permission Check Result
-