public class PatchResultData extends Object
Constructor and Description |
---|
PatchResultData() |
Modifier and Type | Method and Description |
---|---|
RavenJObject |
getDebugActions()
Additional debugging information (if requested).
|
RavenJObject |
getDocument()
Patched document.
|
PatchResult |
getPatchResult()
Result of patch operation:
- DocumentDoesNotExists - document does not exists, operation was a no-op,
- Patched - document was properly patched,
- Tested - document was properly tested,
- Skipped - document was not patched, because skipPatchIfEtagMismatch was set and the etag did not match,
- NotModified - neither document body not metadata was changed during patch operation
|
void |
setDebugActions(RavenJObject debugActions)
Additional debugging information (if requested).
|
void |
setDocument(RavenJObject document)
Patched document.
|
void |
setPatchResult(PatchResult patchResult)
Result of patch operation:
- DocumentDoesNotExists - document does not exists, operation was a no-op,
- Patched - document was properly patched,
- Tested - document was properly tested,
- Skipped - document was not patched, because skipPatchIfEtagMismatch was set and the etag did not match,
- NotModified - neither document body not metadata was changed during patch operation
|
public RavenJObject getDocument()
public PatchResult getPatchResult()
public void setDocument(RavenJObject document)
document
- public void setPatchResult(PatchResult patchResult)
patchResult
- public RavenJObject getDebugActions()
public void setDebugActions(RavenJObject debugActions)
debugActions
- Copyright © 2016. All Rights Reserved.