public enum NewsletterStatus extends Enum<NewsletterStatus>
| Enum Constant and Description |
|---|
FINISHED |
HISTORY |
PREPARING |
READY |
SENDING |
STOPPED |
TESTING |
WAITING |
| Modifier and Type | Method and Description |
|---|---|
static NewsletterStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NewsletterStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NewsletterStatus TESTING
public static final NewsletterStatus WAITING
public static final NewsletterStatus PREPARING
public static final NewsletterStatus READY
public static final NewsletterStatus SENDING
public static final NewsletterStatus FINISHED
public static final NewsletterStatus STOPPED
public static final NewsletterStatus HISTORY
public static NewsletterStatus[] values()
for (NewsletterStatus c : NewsletterStatus.values()) System.out.println(c);
public static NewsletterStatus 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 © 2016. All rights reserved.