Class JsonPatch.Operation.Copy
- java.lang.Object
-
- com.floragunn.codova.documents.patch.JsonPatch.Operation.Copy
-
- All Implemented Interfaces:
Document<JsonPatch.Operation.Copy>,JsonPatch.Operation
- Enclosing interface:
- JsonPatch.Operation
public static class JsonPatch.Operation.Copy extends Object implements JsonPatch.Operation, Document<JsonPatch.Operation.Copy>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.floragunn.codova.documents.patch.JsonPatch.Operation
JsonPatch.Operation.Add, JsonPatch.Operation.Copy, JsonPatch.Operation.Move, JsonPatch.Operation.Remove, JsonPatch.Operation.Replace, JsonPatch.Operation.Test
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanapply(Object document)ObjecttoBasicObject()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.floragunn.codova.documents.Document
meta, toBytes, toDeepBasicObject, toDocNode, toJsonString, toPrettyJsonString, toSmile, toString, toYamlString
-
-
-
-
Method Detail
-
toBasicObject
public Object toBasicObject()
- Specified by:
toBasicObjectin interfaceDocument<JsonPatch.Operation.Copy>
-
apply
public boolean apply(Object document) throws PointerEvaluationException
- Specified by:
applyin interfaceJsonPatch.Operation- Throws:
PointerEvaluationException
-
-