Serializable
, Comparable<NotificationRegistration.RegistrationState>
public static enum NotificationRegistration.RegistrationState extends Enum<NotificationRegistration.RegistrationState>
Enum Constant | Description |
---|---|
ACTIVE |
State of this registration: active.
|
CLOSED |
State of this registration: closed.
|
DISABLED |
State of this registration: disabled(only used by JMS).
|
Modifier and Type | Method | Description |
---|---|---|
static NotificationRegistration.RegistrationState |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static NotificationRegistration.RegistrationState[] |
values() |
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final NotificationRegistration.RegistrationState ACTIVE
public static final NotificationRegistration.RegistrationState CLOSED
public static final NotificationRegistration.RegistrationState DISABLED
public static NotificationRegistration.RegistrationState[] values()
for (NotificationRegistration.RegistrationState c : NotificationRegistration.RegistrationState.values()) System.out.println(c);
public static NotificationRegistration.RegistrationState 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 null