public enum GroupType extends Enum<GroupType>
| Modifier and Type | Method and Description |
|---|---|
static GroupType | parse(String name)Parse a string into a consumer group type, in a case-insensitive manner. |
String | toString() |
static GroupType | valueOf(String name)Returns the enum constant of this type with the specified name. |
static GroupType[] | values()Returns an array containing the constants of this enum type, in the order they are declared. |
public static final GroupType UNKNOWN
public static final GroupType CONSUMER
public static final GroupType CLASSIC
public static GroupType[] values()
for (GroupType c : GroupType.values()) System.out.println(c);
public static GroupType 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 static GroupType parse(String name)