public enum SubscribeStatus extends Enum<SubscribeStatus>
| Enum Constant and Description |
|---|
cleaned
Used to archive a subscriber.
|
pending
Used for double opt-in.
|
subscribed |
unsubscribed
Used to archive a subscriber.
|
| Modifier and Type | Method and Description |
|---|---|
static SubscribeStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SubscribeStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubscribeStatus subscribed
public static final SubscribeStatus unsubscribed
public static final SubscribeStatus pending
public static final SubscribeStatus cleaned
public static SubscribeStatus[] values()
for (SubscribeStatus c : SubscribeStatus.values()) System.out.println(c);
public static SubscribeStatus 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 nullCopyright © 2020. All rights reserved.