public enum GroupAccessType extends Enum<GroupAccessType>
Enum Constant and Description |
---|
MEMBER
User is a member of the group, but has no special permissions.
|
OWNER
User can rename the group, and add/remove members.
|
Modifier and Type | Method and Description |
---|---|
static GroupAccessType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GroupAccessType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GroupAccessType MEMBER
public static final GroupAccessType OWNER
public static GroupAccessType[] values()
for (GroupAccessType c : GroupAccessType.values()) System.out.println(c);
public static GroupAccessType 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 null