public enum ApiResponseStatus extends Enum<ApiResponseStatus>
| Modifier and Type | Method and Description |
|---|---|
static ApiResponseStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApiResponseStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApiResponseStatus success
public static final ApiResponseStatus error
public static final ApiResponseStatus fail
public static ApiResponseStatus[] values()
for (ApiResponseStatus c : ApiResponseStatus.values()) System.out.println(c);
public static ApiResponseStatus 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 © 2019. All rights reserved.