public enum PrivilegeType extends Enum<PrivilegeType>
| Enum Constant and Description |
|---|
ACCESS
access privileges are for groups
|
ATTRIBUTE_DEF
access privileges are for groups
|
NAMING
naming privileges are for stems
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPrivilegeName()
privilege name
|
abstract Privilege |
retrievePrivilege(String name)
retrieve a privilege with this name.
|
static PrivilegeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrivilegeType |
valueOfIgnoreCase(String string)
do a case-insensitive matching
|
static PrivilegeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrivilegeType ACCESS
public static final PrivilegeType ATTRIBUTE_DEF
public static final PrivilegeType NAMING
public static PrivilegeType[] values()
for (PrivilegeType c : PrivilegeType.values()) System.out.println(c);
public static PrivilegeType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getPrivilegeName()
public abstract Privilege retrievePrivilege(String name)
name - public static PrivilegeType valueOfIgnoreCase(String string)
string - Copyright © 2016 Internet2. All rights reserved.