public enum ResultEnum extends Enum<ResultEnum>
| Enum Constant and Description |
|---|
ASSERT_ERROR |
AUTHORIZATION_EXPIRATION |
FAIL |
NOT_AUTHORITY |
NOT_FOUND |
NOT_LOGIN |
NULL_ERROR |
OK |
TOKEN_TAMPER |
| Modifier and Type | Method and Description |
|---|---|
static ResultEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResultEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResultEnum OK
public static final ResultEnum FAIL
public static final ResultEnum NOT_FOUND
public static final ResultEnum AUTHORIZATION_EXPIRATION
public static final ResultEnum TOKEN_TAMPER
public static final ResultEnum NOT_LOGIN
public static final ResultEnum NOT_AUTHORITY
public static final ResultEnum ASSERT_ERROR
public static final ResultEnum NULL_ERROR
public static ResultEnum[] values()
for (ResultEnum c : ResultEnum.values()) System.out.println(c);
public static ResultEnum 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 © 2024. All rights reserved.