public static enum MailCache.FetchMode extends Enum<MailCache.FetchMode>
| Enum Constant and Description |
|---|
ALLAll messages |
CACHE_ONLYCache only |
HEADERHeader only |
HEADER_CACHE_ONLYHeader and cache only |
| Modifier and Type | Method and 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 ALL
public static final MailCache.FetchMode CACHE_ONLY
public static final MailCache.FetchMode HEADER
public static final MailCache.FetchMode HEADER_CACHE_ONLY
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 nullpublic static MailCache.FetchMode[] values()
for (MailCache.FetchMode c : MailCache.FetchMode.values()) System.out.println(c);