public static enum Subscription.State extends java.lang.Enum<Subscription.State>
Enum Constant and Description |
---|
ERROR
Inactive due to an error.
|
OK
Subscription is active.
|
PENDING
Successfully registered but not yet active.
|
Modifier and Type | Method and Description |
---|---|
static Subscription.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Subscription.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Subscription.State OK
public static final Subscription.State PENDING
public static final Subscription.State ERROR
public static Subscription.State[] values()
for (Subscription.State c : Subscription.State.values()) System.out.println(c);
public static Subscription.State 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