public static enum DonationOffer.OptionId extends java.lang.Enum<DonationOffer.OptionId>
| Enum Constant and Description |
|---|
DONATE |
NEVER_MIND |
| Modifier and Type | Method and Description |
|---|---|
static DonationOffer.OptionId |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DonationOffer.OptionId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DonationOffer.OptionId DONATE
public static final DonationOffer.OptionId NEVER_MIND
public static DonationOffer.OptionId[] values()
for (DonationOffer.OptionId c : DonationOffer.OptionId.values()) System.out.println(c);
public static DonationOffer.OptionId 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 null