public enum Subscription extends Enum<Subscription>
Enum Constant and Description |
---|
none
The node MUST NOT send event notifications or payloads to the Entity.
|
pending
An entity has requested to subscribe to a node and the request has not
yet been approved by a node owner.
|
subscribed
An entity is subscribed to a node.
|
unconfigured
An entity has subscribed but its subscription options have not yet been
configured.
|
Modifier and Type | Method and Description |
---|---|
static Subscription |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Subscription[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Subscription none
public static final Subscription pending
public static final Subscription subscribed
public static final Subscription unconfigured
public static Subscription[] values()
for (Subscription c : Subscription.values()) System.out.println(c);
public static Subscription 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 nullCopyright © 2006–2023 Tigase. All rights reserved.