public enum DocumentStatus extends Enum<DocumentStatus>
| Enum Constant and Description |
|---|
COMPLETED
Completed 处理完毕
|
FAILED
Processing failed, it is recommended to re-upload 处理失败,建议重新上传
|
PROCESSING
Processing 处理中
|
| Modifier and Type | Method and Description |
|---|---|
static DocumentStatus |
fromValue(int value) |
int |
getValue() |
static DocumentStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocumentStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentStatus PROCESSING
public static final DocumentStatus COMPLETED
public static final DocumentStatus FAILED
public static DocumentStatus[] values()
for (DocumentStatus c : DocumentStatus.values()) System.out.println(c);
public static DocumentStatus 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 int getValue()
public static DocumentStatus fromValue(int value)
Copyright © 2024. All rights reserved.