public enum PublisherModel extends java.lang.Enum<PublisherModel>
Defines who may publish publish to a node.
NodeConfiguration.getPublisherModel()| Enum Constant and Description |
|---|
OPEN
Anyone may publish.
|
PUBLISHERS
Only publishers may publish.
|
SUBSCRIBERS
Subscribers may publish.
|
| Modifier and Type | Method and Description |
|---|---|
static PublisherModel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PublisherModel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PublisherModel PUBLISHERS
public static final PublisherModel SUBSCRIBERS
public static final PublisherModel OPEN
public static PublisherModel[] values()
for (PublisherModel c : PublisherModel.values()) System.out.println(c);
public static PublisherModel 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.