public enum SubscriptionDurabilityEnum extends java.lang.Enum<SubscriptionDurabilityEnum>
<simpleType name="SubscriptionDurabilityKind"> <restriction base="{http://www.w3.org/2001/XMLSchema}NCName"> <enumeration value="Durable"/> <enumeration value="NonDurable"/> </restriction> </simpleType>
Enum Constant and Description |
---|
DURABLE |
NON_DURABLE |
Modifier and Type | Method and Description |
---|---|
static SubscriptionDurabilityEnum |
fromValue(java.lang.String v) |
java.lang.String |
value() |
static SubscriptionDurabilityEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SubscriptionDurabilityEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubscriptionDurabilityEnum DURABLE
public static final SubscriptionDurabilityEnum NON_DURABLE
public static SubscriptionDurabilityEnum[] values()
for (SubscriptionDurabilityEnum c : SubscriptionDurabilityEnum.values()) System.out.println(c);
public static SubscriptionDurabilityEnum 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 nullpublic java.lang.String value()
public static SubscriptionDurabilityEnum fromValue(java.lang.String v)