public enum AffiliationState extends java.lang.Enum<AffiliationState>
Represents the affiliations which allow to manage permissions.
Enum Constant and Description |
---|
MEMBER
A member, which is allowed to subscribe to and retrieve items from a node.
|
NONE
No affiliation.
|
OUTCAST
An entity that is disallowed from subscribing or publishing to a node.
|
OWNER
The manager of a node, of which there may be more than one; often but not necessarily the node creator.
|
PUBLISH_ONLY
An entity that is allowed to publish items to a node but that is not allowed to receive notifications.
|
PUBLISHER
An entity that is allowed to publish items to a node and that is automatically subscribed to the node.
|
Modifier and Type | Method and Description |
---|---|
static AffiliationState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AffiliationState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AffiliationState OWNER
public static final AffiliationState PUBLISHER
public static final AffiliationState PUBLISH_ONLY
public static final AffiliationState MEMBER
public static final AffiliationState NONE
public static final AffiliationState OUTCAST
public static AffiliationState[] values()
for (AffiliationState c : AffiliationState.values()) System.out.println(c);
public static AffiliationState 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.