public enum NotificationType extends java.lang.Enum<NotificationType>
NotificationType
enumeration defines type
of notification that are sent through notifyObserver.
This allows Observer to have a personalized action depending
on notification typeEnum Constant and Description |
---|
CHOOSE_BID |
CHOOSE_ECART_CARD |
PICK_CARD |
UNAUTHORIZED_CARD_CHOICE |
Modifier and Type | Method and Description |
---|---|
static NotificationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NotificationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotificationType PICK_CARD
public static final NotificationType CHOOSE_BID
public static final NotificationType CHOOSE_ECART_CARD
public static final NotificationType UNAUTHORIZED_CARD_CHOICE
public static NotificationType[] values()
for (NotificationType c : NotificationType.values()) System.out.println(c);
public static NotificationType 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