public static enum LoginResponse.Status extends java.lang.Enum<LoginResponse.Status>
Modifier and Type | Method and Description |
---|---|
static LoginResponse.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LoginResponse.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoginResponse.Status Ok
public static final LoginResponse.Status Bad
public static final LoginResponse.Status Expired
public static LoginResponse.Status[] values()
for (LoginResponse.Status c : LoginResponse.Status.values()) System.out.println(c);
public static LoginResponse.Status 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 nullCopyright © 2021. All Rights Reserved.