public enum RequestStatus extends Enum<RequestStatus>
Enum Constant and Description |
---|
COMPLETED |
FAILED |
IN_PROGRESS |
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 IN_PROGRESS
public static final RequestStatus COMPLETED
public static final RequestStatus FAILED
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 © 2022 Apache Software Foundation. All rights reserved.