public static enum SubscribeOptions.SubscriptionType extends java.lang.Enum<SubscribeOptions.SubscriptionType>
The subscription type.
Enum Constant and Description |
---|
ITEMS
Receive notification of new items only
|
NODES
Receive notification of new nodes only
|
Modifier and Type | Method and Description |
---|---|
static SubscribeOptions.SubscriptionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SubscribeOptions.SubscriptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubscribeOptions.SubscriptionType ITEMS
public static final SubscribeOptions.SubscriptionType NODES
public static SubscribeOptions.SubscriptionType[] values()
for (SubscribeOptions.SubscriptionType c : SubscribeOptions.SubscriptionType.values()) System.out.println(c);
public static SubscribeOptions.SubscriptionType 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.