public enum RequestStatusState extends Enum<RequestStatusState>
| 枚举常量和说明 |
|---|
COMPLETED
The request was completed.
|
FAILED
The request has failed.
|
NOT_FOUND
The request Id was not found.
|
RUNNING
The request is in progress.
|
SUBMITTED
The request was submitted, but has not yet started.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static RequestStatusState |
fromKey(String key)
Resolves a key that was returned from
getKey() to a RequestStatusState. |
String |
getKey()
Returns the string representation of this state, for using as a key.
|
static RequestStatusState |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static RequestStatusState[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final RequestStatusState COMPLETED
public static final RequestStatusState FAILED
public static final RequestStatusState RUNNING
public static final RequestStatusState SUBMITTED
public static final RequestStatusState NOT_FOUND
public static RequestStatusState[] values()
for (RequestStatusState c : RequestStatusState.values()) System.out.println(c);
public static RequestStatusState valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getKey()
public static RequestStatusState fromKey(String key)
getKey() to a RequestStatusState. For backwards
compatibility, it resolves the key "notfound" to NOT_FOUND.Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.