public static enum DigitalGoodsStore.Event extends java.lang.Enum<DigitalGoodsStore.Event>
Enum Constant and Description |
---|
DELIVERY |
FEEDBACK |
GOODS_DELISTED |
GOODS_LISTED |
GOODS_PRICE_CHANGE |
GOODS_QUANTITY_CHANGE |
PURCHASE |
REFUND |
Modifier and Type | Method and Description |
---|---|
static DigitalGoodsStore.Event |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DigitalGoodsStore.Event[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DigitalGoodsStore.Event GOODS_LISTED
public static final DigitalGoodsStore.Event GOODS_DELISTED
public static final DigitalGoodsStore.Event GOODS_PRICE_CHANGE
public static final DigitalGoodsStore.Event GOODS_QUANTITY_CHANGE
public static final DigitalGoodsStore.Event PURCHASE
public static final DigitalGoodsStore.Event DELIVERY
public static final DigitalGoodsStore.Event REFUND
public static final DigitalGoodsStore.Event FEEDBACK
public static DigitalGoodsStore.Event[] values()
for (DigitalGoodsStore.Event c : DigitalGoodsStore.Event.values()) System.out.println(c);
public static DigitalGoodsStore.Event 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