public static enum RequestStatus.Status extends Enum<RequestStatus.Status>
Enum Constant and Description |
---|
DONE |
FAILED |
RUNNING |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static RequestStatus.Status |
fromValue(String value) |
static RequestStatus.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RequestStatus.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequestStatus.Status DONE
public static final RequestStatus.Status FAILED
public static final RequestStatus.Status RUNNING
public static final RequestStatus.Status UNRECOGNIZED
public static RequestStatus.Status[] values()
for (RequestStatus.Status c : RequestStatus.Status.values()) System.out.println(c);
public static RequestStatus.Status 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 nullpublic static RequestStatus.Status fromValue(String value)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.