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