public enum DetailRequestStatus extends java.lang.Enum<DetailRequestStatus>
| Enum Constant and Description |
|---|
CANCELLED
Specifies that the data request was cancelled.
|
COMPLETE
Specifies that the data request completed successfully.
|
COMPLETE_NO_DATA
Specifies that no data was found for the requested time and duration
|
FAILED
Specifies that the data request terminated with errors.
|
TIMEOUT
Specifies that the request timed out before completing.
|
| Modifier and Type | Method and Description |
|---|---|
static DetailRequestStatus |
getDetailRequestStatus(short status)
Gets the enumeration value for the given short status value.
|
short |
getValue()
Returns the short value declared by OpenDOF for requestStatusLevel.
|
static DetailRequestStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DetailRequestStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DetailRequestStatus COMPLETE
public static final DetailRequestStatus COMPLETE_NO_DATA
public static final DetailRequestStatus FAILED
public static final DetailRequestStatus CANCELLED
public static final DetailRequestStatus TIMEOUT
public static DetailRequestStatus[] values()
for (DetailRequestStatus c : DetailRequestStatus.values()) System.out.println(c);
public static DetailRequestStatus valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic final short getValue()
public static final DetailRequestStatus getDetailRequestStatus(short status)
status - The short value to get the enumeration value for.