public static enum BaseResponse.Status extends Enum<BaseResponse.Status>
| Modifier and Type | Method and Description |
|---|---|
static BaseResponse.Status |
fromValue(String value) |
static BaseResponse.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BaseResponse.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BaseResponse.Status OK
public static final BaseResponse.Status ERROR
public static BaseResponse.Status[] values()
for (BaseResponse.Status c : BaseResponse.Status.values()) System.out.println(c);
public static BaseResponse.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 static BaseResponse.Status fromValue(String value)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.