public enum DocumentUpdateType extends Enum<DocumentUpdateType>
| Enum Constant and Description |
|---|
AUTO_UPDATE
Automatically update 自动更新
|
NO_AUTO_UPDATE
Do not automatically update 不自动更新
|
| Modifier and Type | Method and Description |
|---|---|
static DocumentUpdateType |
fromValue(int value) |
int |
getValue() |
static DocumentUpdateType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocumentUpdateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentUpdateType NO_AUTO_UPDATE
public static final DocumentUpdateType AUTO_UPDATE
public static DocumentUpdateType[] values()
for (DocumentUpdateType c : DocumentUpdateType.values()) System.out.println(c);
public static DocumentUpdateType 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 DocumentUpdateType fromValue(int value)
Copyright © 2024. All rights reserved.