public enum RequestState extends Enum<RequestState>
Enum Constant and Description |
---|
DONE
The request is done
|
IN_PROGRESS
The request is in progress
|
NONE
No request is currently in progress or done
|
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 NONE
public static final RequestState IN_PROGRESS
public static final RequestState DONE
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 JBoss by Red Hat. All rights reserved.