public enum PatchResult extends Enum<PatchResult>
Enum Constant and Description |
---|
DOCUMENT_DOES_NOT_EXISTS
The document does not exists, operation was a no-op
|
NOT_MODIFIED
Neither document body not metadata was changed during patch operation
|
PATCHED
Document was properly patched
|
SKIPPED
The document was not patched, because skipPatchIfEtagMismatch was set
and the etag did not match
|
TESTED
Document was properly tested
|
Modifier and Type | Method and Description |
---|---|
static PatchResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PatchResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PatchResult DOCUMENT_DOES_NOT_EXISTS
public static final PatchResult PATCHED
public static final PatchResult TESTED
public static final PatchResult SKIPPED
public static final PatchResult NOT_MODIFIED
public static PatchResult[] values()
for (PatchResult c : PatchResult.values()) System.out.println(c);
public static PatchResult 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 nullCopyright © 2016. All Rights Reserved.