public static enum VespaDocumentOperation.Operation extends Enum<VespaDocumentOperation.Operation>
Modifier and Type | Method and Description |
---|---|
static VespaDocumentOperation.Operation |
fromString(String text) |
String |
toString() |
static boolean |
valid(String text) |
static VespaDocumentOperation.Operation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VespaDocumentOperation.Operation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VespaDocumentOperation.Operation DOCUMENT
public static final VespaDocumentOperation.Operation PUT
public static final VespaDocumentOperation.Operation ID
public static final VespaDocumentOperation.Operation REMOVE
public static final VespaDocumentOperation.Operation UPDATE
public static VespaDocumentOperation.Operation[] values()
for (VespaDocumentOperation.Operation c : VespaDocumentOperation.Operation.values()) System.out.println(c);
public static VespaDocumentOperation.Operation 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 toString()
toString
in class Enum<VespaDocumentOperation.Operation>
public static VespaDocumentOperation.Operation fromString(String text)
public static boolean valid(String text)
Copyright © 2018. All rights reserved.