public enum GroupActionType extends Enum<GroupActionType>
Java class for groupActionType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="groupActionType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="join"/> <enumeration value="leave"/> </restriction> </simpleType>
Enum Constant and Description |
---|
JOIN
Notification that a vehicle is joining the group.
|
LEAVE
Notification that a vehicle is leaving the group.
|
Modifier and Type | Method and Description |
---|---|
static GroupActionType |
fromValue(String v) |
String |
value() |
static GroupActionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GroupActionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GroupActionType JOIN
public static final GroupActionType LEAVE
public static GroupActionType[] values()
for (GroupActionType c : GroupActionType.values()) System.out.println(c);
public static GroupActionType 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 String value()
public static GroupActionType fromValue(String v)