public static enum Subscription.State extends Enum<Subscription.State>
| Enum Constant and Description |
|---|
none |
pending |
subscribed |
unconfigured |
| Modifier and Type | Method and Description |
|---|---|
static Subscription.State |
valueOf(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 subscribed
public static final Subscription.State unconfigured
public static final Subscription.State pending
public static final Subscription.State none
public static Subscription.State[] values()
for (Subscription.State c : Subscription.State.values()) System.out.println(c);
public static Subscription.State 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 null