public static enum GroupId.Type extends Enum<GroupId.Type>
Modifier and Type | Method and Description |
---|---|
static GroupId.Type |
jsonValueOf(String jsonType)
Return the Type enum value given a specific jsonType such as @all, @friends, etc.
|
static GroupId.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GroupId.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GroupId.Type all
public static final GroupId.Type friends
public static final GroupId.Type self
public static final GroupId.Type deleted
public static final GroupId.Type groupId
public static GroupId.Type[] values()
for (GroupId.Type c : GroupId.Type.values()) System.out.println(c);
public static GroupId.Type 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 GroupId.Type jsonValueOf(String jsonType)
jsonType
- the type string to convertCopyright © 2016 WSO2. All Rights Reserved.