public enum GroupCreation extends java.lang.Enum<GroupCreation>
Modifier and Type | Class and Description |
---|---|
static class |
GroupCreation.Serializer
For internal use only.
|
Enum Constant and Description |
---|
ADMINS_AND_MEMBERS
Team admins and members can create groups.
|
ADMINS_ONLY
Only team admins can create groups.
|
Modifier and Type | Method and Description |
---|---|
static GroupCreation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GroupCreation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GroupCreation ADMINS_AND_MEMBERS
public static final GroupCreation ADMINS_ONLY
public static GroupCreation[] values()
for (GroupCreation c : GroupCreation.values()) System.out.println(c);
public static GroupCreation 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