public static enum ApiResult.Status extends Enum<ApiResult.Status>
| Enum Constant and Description |
|---|
BAD_REQUEST |
OK |
SYSTEM_ERROR |
UNAUTHORIZED |
| Modifier and Type | Method and Description |
|---|---|
int |
getId() |
static ApiResult.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApiResult.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApiResult.Status OK
public static final ApiResult.Status BAD_REQUEST
public static final ApiResult.Status SYSTEM_ERROR
public static final ApiResult.Status UNAUTHORIZED
public static ApiResult.Status[] values()
for (ApiResult.Status c : ApiResult.Status.values()) System.out.println(c);
public static ApiResult.Status 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 nullpublic int getId()
Copyright © 2009–2017 CodeLibs. All rights reserved.