public static enum AQNotificationEvent.EventType extends Enum<AQNotificationEvent.EventType>
| Enum Constant and Description |
|---|
DEREG
Event type: unregistered or timed out.
|
REGULAR
Event type: regular AQ event.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
Implementation detail (for internal use only).
|
static AQNotificationEvent.EventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AQNotificationEvent.EventType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final AQNotificationEvent.EventType REGULAR
public static final AQNotificationEvent.EventType DEREG
public static AQNotificationEvent.EventType[] values()
for (AQNotificationEvent.EventType c : AQNotificationEvent.EventType.values())
System.out.println(c);
public static AQNotificationEvent.EventType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getCode()