public class PrivilegeRegistry extends Object
Modifier and Type | Field and Description |
---|---|
protected static Map<PrivilegeType,Privilege> |
Registry |
protected static Map<PrivilegeType,Privilege> |
RegistryV2 |
Constructor and Description |
---|
PrivilegeRegistry() |
Modifier and Type | Method and Description |
---|---|
static Privilege |
getPrivilege(int privilegeToken) |
static Privilege |
getPrivilege(PrivilegeType privilegeType) |
static Privilege |
getPrivilege(String privilegeName) |
protected static Map<PrivilegeType,Privilege> Registry
protected static Map<PrivilegeType,Privilege> RegistryV2
public static Privilege getPrivilege(PrivilegeType privilegeType)
public static Privilege getPrivilege(int privilegeToken)
Copyright © 2017 The Apache Software Foundation. All rights reserved.