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