public static enum Document.VersionType extends Enum<Document.VersionType>
| Enum Constant and Description |
|---|
EXTERNAL |
EXTERNAL_GTE |
FORCE |
INTERNAL |
| Modifier and Type | Method and Description |
|---|---|
String |
getEsName() |
static Document.VersionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Document.VersionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Document.VersionType INTERNAL
public static final Document.VersionType EXTERNAL
public static final Document.VersionType EXTERNAL_GTE
public static final Document.VersionType FORCE
public static Document.VersionType[] values()
for (Document.VersionType c : Document.VersionType.values()) System.out.println(c);
public static Document.VersionType 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 String getEsName()
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.