public static enum RosterItem.RecvType extends Enum<RosterItem.RecvType>
Enum Constant and Description |
---|
NONE
There are no subscriptions that have been received but not presented to the user.
|
SUBSCRIBE
The server has received a subscribe request, but has not forwarded it to the user.
|
UNSUBSCRIBE
The server has received an unsubscribe request, but has not forwarded it to the user.
|
Modifier and Type | Method and Description |
---|---|
static RosterItem.RecvType |
getTypeFromInt(int value) |
int |
getValue() |
static RosterItem.RecvType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RosterItem.RecvType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RosterItem.RecvType NONE
public static final RosterItem.RecvType SUBSCRIBE
public static final RosterItem.RecvType UNSUBSCRIBE
public static RosterItem.RecvType[] values()
for (RosterItem.RecvType c : RosterItem.RecvType.values()) System.out.println(c);
public static RosterItem.RecvType 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 int getValue()
public static RosterItem.RecvType getTypeFromInt(int value)
Copyright © 2003-2008 Jive Software.