Serializable
, Comparable<MailCache.FetchMode>
public static enum MailCache.FetchMode extends Enum<MailCache.FetchMode>
Enum Constant | Description |
---|---|
ALL |
|
CACHE_ONLY |
|
HEADER |
Modifier and Type | Method | Description |
---|---|---|
static MailCache.FetchMode |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static MailCache.FetchMode[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MailCache.FetchMode HEADER
public static final MailCache.FetchMode ALL
public static final MailCache.FetchMode CACHE_ONLY
public static MailCache.FetchMode[] values()
for (MailCache.FetchMode c : MailCache.FetchMode.values()) System.out.println(c);
public static MailCache.FetchMode 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