public static enum ApiResult.ResultStatus extends Enum<ApiResult.ResultStatus>
Enum Constant and Description |
---|
ERROR
an error occured
|
OK
everything has been ok
|
WARNING
something went wrong - a warning
|
Modifier and Type | Method and Description |
---|---|
static ApiResult.ResultStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApiResult.ResultStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApiResult.ResultStatus OK
public static final ApiResult.ResultStatus WARNING
public static final ApiResult.ResultStatus ERROR
public static ApiResult.ResultStatus[] values()
for (ApiResult.ResultStatus c : ApiResult.ResultStatus.values()) System.out.println(c);
public static ApiResult.ResultStatus 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 Communote team. All rights reserved.