public enum SendLastPublishedItem extends Enum<SendLastPublishedItem>
| 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 String[] |
descriptions() |
static SendLastPublishedItem |
valueOf(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(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 nullpublic static String[] descriptions()
Copyright © 2008–2015 Tigase. All rights reserved.