public enum RequestStatus extends Enum<RequestStatus>
Enum Constant and Description |
---|
CANCELLED |
DONE |
ERROR |
QUEUED |
RETRYING |
RUNNING |
Modifier and Type | Method and Description |
---|---|
static RequestStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RequestStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequestStatus QUEUED
public static final RequestStatus DONE
public static final RequestStatus CANCELLED
public static final RequestStatus ERROR
public static final RequestStatus RETRYING
public static final RequestStatus RUNNING
public static RequestStatus[] values()
for (RequestStatus c : RequestStatus.values()) System.out.println(c);
public static RequestStatus 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 © 2001–2020 JBoss by Red Hat. All rights reserved.