|
Openfire 3.5.0 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<NodeSubscription.State> org.jivesoftware.openfire.pubsub.NodeSubscription.State
public static enum NodeSubscription.State
Subscriptions to a node may exist in several states. Delivery of event notifications varies according to the subscription state of the user with the node.
Enum Constant Summary | |
---|---|
none
The node will never send event notifications or payloads to users in this state. |
|
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. |
Method Summary | |
---|---|
static NodeSubscription.State |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static NodeSubscription.State[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final NodeSubscription.State none
public static final NodeSubscription.State pending
public static final NodeSubscription.State unconfigured
public static final NodeSubscription.State subscribed
Method Detail |
---|
public static final NodeSubscription.State[] values()
for(NodeSubscription.State c : NodeSubscription.State.values()) System.out.println(c);
public static NodeSubscription.State valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
|
Openfire 3.5.0 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |