public class SystemPermission extends Object implements Permission<SystemPermission.Type>
Modifier and Type | Class and Description |
---|---|
static class |
SystemPermission.Type
Specific types of system-level permissions.
|
Constructor and Description |
---|
SystemPermission(SystemPermission.Type type)
Creates a new SystemPermission with the given
type.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
SystemPermission.Type |
getType()
Returns the type of operation affected by this permission.
|
int |
hashCode() |
public SystemPermission(SystemPermission.Type type)
type
- The type of operation controlled by this permission.public SystemPermission.Type getType()
Permission
getType
in interface Permission<SystemPermission.Type>
Copyright © 2018. All rights reserved.