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