public enum SendLastPublishedItem extends java.lang.Enum<SendLastPublishedItem>
Defines when to send the last published item.
Enum Constant and Description |
---|
NEVER
Never.
|
ON_SUB
When a new subscription is processed.
|
ON_SUB_AND_PRESENCE
When a new subscription is processed and whenever a subscriber comes online.
|
Modifier and Type | Method and Description |
---|---|
static SendLastPublishedItem |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SendLastPublishedItem[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SendLastPublishedItem NEVER
public static final SendLastPublishedItem ON_SUB
public static final SendLastPublishedItem ON_SUB_AND_PRESENCE
public static SendLastPublishedItem[] values()
for (SendLastPublishedItem c : SendLastPublishedItem.values()) System.out.println(c);
public static SendLastPublishedItem 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.