public static enum FetchResponse.Status extends java.lang.Enum<FetchResponse.Status>
FETCHED, NOTMODIFIED or FAILED.| Enum Constant and Description |
|---|
FAILED |
FETCHED |
NOTMODIFIED |
| Modifier and Type | Method and Description |
|---|---|
static FetchResponse.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FetchResponse.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FetchResponse.Status FETCHED
public static final FetchResponse.Status NOTMODIFIED
public static final FetchResponse.Status FAILED
public static FetchResponse.Status[] values()
for (FetchResponse.Status c : FetchResponse.Status.values()) System.out.println(c);
public static FetchResponse.Status valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null