public static enum RegistrationRequest.Action extends Enum<RegistrationRequest.Action>
Enum Constant and Description |
---|
REGISTER |
UNREGISTER |
Modifier and Type | Method and Description |
---|---|
static RegistrationRequest.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RegistrationRequest.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegistrationRequest.Action REGISTER
public static final RegistrationRequest.Action UNREGISTER
public static RegistrationRequest.Action[] values()
for (RegistrationRequest.Action c : RegistrationRequest.Action.values()) System.out.println(c);
public static RegistrationRequest.Action 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 nullCopyright © GigaSpaces.