public static enum Reminder.Method extends java.lang.Enum<Reminder.Method>
Modifier and Type | Method and Description |
---|---|
static Reminder.Method |
fromString(java.lang.String s) |
java.lang.String |
generate()
Creates the string value suitable for the value of "method" in
a GData feed.
|
static Reminder.Method |
valueOf(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static Reminder.Method fromString(java.lang.String s)
java.lang.IllegalArgumentException
- if it doesn't match a methodpublic java.lang.String generate()