public static enum ContactExchange.Item.Action extends java.lang.Enum<ContactExchange.Item.Action>
The action for a roster item exchange.
Enum Constant and Description |
---|
ADD
Suggests roster item addition.
|
DELETE
Suggests roster item deletion.
|
MODIFY
Suggests roster item modification.
|
Modifier and Type | Method and Description |
---|---|
static ContactExchange.Item.Action |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ContactExchange.Item.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContactExchange.Item.Action ADD
public static final ContactExchange.Item.Action DELETE
public static final ContactExchange.Item.Action MODIFY
public static ContactExchange.Item.Action[] values()
for (ContactExchange.Item.Action c : ContactExchange.Item.Action.values()) System.out.println(c);
public static ContactExchange.Item.Action 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 nullCopyright © 2014–2019 XMPP.rocks. All rights reserved.