public static enum Grantee.GRANT_TYPE extends java.lang.Enum<Grantee.GRANT_TYPE>
Modifier and Type | Method and Description |
---|---|
static Grantee.GRANT_TYPE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Grantee.GRANT_TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Grantee.GRANT_TYPE USER
public static final Grantee.GRANT_TYPE GROUP
public static Grantee.GRANT_TYPE[] values()
for (Grantee.GRANT_TYPE c : Grantee.GRANT_TYPE.values()) System.out.println(c);
public static Grantee.GRANT_TYPE 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 namejava.lang.NullPointerException
- if the argument is null