public enum SubscriptionDurability extends java.lang.Enum<SubscriptionDurability>
| Enum Constant | Description |
|---|---|
Durable |
Durable
|
NonDurable |
Non durable
|
| Modifier and Type | Method | Description |
|---|---|---|
static SubscriptionDurability |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static SubscriptionDurability[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubscriptionDurability Durable
public static final SubscriptionDurability NonDurable
public static SubscriptionDurability[] values()
for (SubscriptionDurability c : SubscriptionDurability.values()) System.out.println(c);
public static SubscriptionDurability 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 © 2018 JBoss by Red Hat. All rights reserved.