public static enum Reminder.Method extends Enum<Reminder.Method>
| Modifier and Type | Method and Description |
|---|---|
static Reminder.Method |
fromString(String s) |
String |
generate()
Creates the string value suitable for the value of "method" in
a GData feed.
|
static Reminder.Method |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Reminder.Method[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Reminder.Method ALERT
public static final Reminder.Method ALL
public static final Reminder.Method EMAIL
public static final Reminder.Method NONE
public static final Reminder.Method SMS
public static Reminder.Method[] values()
for (Reminder.Method c : Reminder.Method.values()) System.out.println(c);
public static Reminder.Method 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 Reminder.Method fromString(String s)
IllegalArgumentException - if it doesn't match a methodpublic String generate()
Copyright © 2012. All Rights Reserved.