public enum SubscriptionType extends java.lang.Enum<SubscriptionType>
| Enum Constant and Description |
|---|
CANCEL |
DUPLICATED |
EXPIRE |
HEARTBEAT |
NEW |
RESTORE |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static SubscriptionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SubscriptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubscriptionType NEW
public static final SubscriptionType HEARTBEAT
public static final SubscriptionType EXPIRE
public static final SubscriptionType CANCEL
public static final SubscriptionType RESTORE
public static final SubscriptionType DUPLICATED
public static final SubscriptionType UNKNOWN
public static SubscriptionType[] values()
for (SubscriptionType c : SubscriptionType.values()) System.out.println(c);
public static SubscriptionType 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 null