public enum BuddyOnlineState extends java.lang.Enum<BuddyOnlineState>
Enum Constant and Description |
---|
LEFT_THE_SERVER
The Buddy left the server
|
OFFLINE
The Buddy is off-line in the system
|
ONLINE
The Buddy is online in the system
|
Modifier and Type | Method and Description |
---|---|
static BuddyOnlineState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BuddyOnlineState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BuddyOnlineState ONLINE
public static final BuddyOnlineState OFFLINE
public static final BuddyOnlineState LEFT_THE_SERVER
public static BuddyOnlineState[] values()
for (BuddyOnlineState c : BuddyOnlineState.values()) System.out.println(c);
public static BuddyOnlineState 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