|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<PrivilegeType>
edu.internet2.middleware.grouper.privs.PrivilegeType
public enum PrivilegeType
enum of privilege types
| Enum Constant Summary | |
|---|---|
ACCESS
access privileges are for groups |
|
NAMING
naming privileges are for stems |
|
| Method Summary | |
|---|---|
java.lang.String |
getPrivilegeName()
privilege name |
abstract Privilege |
retrievePrivilege(java.lang.String name)
retrieve a privilege with this name. |
static PrivilegeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PrivilegeType |
valueOfIgnoreCase(java.lang.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. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final PrivilegeType ACCESS
public static final PrivilegeType NAMING
| Method Detail |
|---|
public static PrivilegeType[] values()
for (PrivilegeType c : PrivilegeType.values()) System.out.println(c);
public static PrivilegeType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic java.lang.String getPrivilegeName()
public abstract Privilege retrievePrivilege(java.lang.String name)
name -
public static PrivilegeType valueOfIgnoreCase(java.lang.String string)
string -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||