public abstract class PathDualValueOperation extends java.lang.Object implements JsonPatchOperation
| Modifier and Type | Field and Description |
|---|---|
protected static MessageBundle |
BUNDLE |
protected JsonNode |
fromValue |
protected java.lang.String |
op |
protected JsonPointer |
path |
protected JsonNode |
toValue |
| Modifier | Constructor and Description |
|---|---|
protected |
PathDualValueOperation(java.lang.String op,
JsonPointer path,
JsonNode fromValue,
JsonNode toValue)
Protected constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
serialize(JsonGenerator jgen,
SerializerProvider provider) |
void |
serializeWithType(JsonGenerator jgen,
SerializerProvider provider,
TypeSerializer typeSer) |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyprotected static final MessageBundle BUNDLE
protected final java.lang.String op
protected final JsonPointer path
protected final JsonNode fromValue
protected final JsonNode toValue
protected PathDualValueOperation(java.lang.String op,
JsonPointer path,
JsonNode fromValue,
JsonNode toValue)
op - operation namepath - source pathfromValue - original pathtoValue - new valuepublic final void serialize(JsonGenerator jgen, SerializerProvider provider) throws java.io.IOException, JsonProcessingException
serialize in interface JsonSerializablejava.io.IOExceptionJsonProcessingExceptionpublic final void serializeWithType(JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer) throws java.io.IOException, JsonProcessingException
serializeWithType in interface JsonSerializablejava.io.IOExceptionJsonProcessingExceptionpublic final java.lang.String toString()
toString in interface JsonPatchOperationtoString in class java.lang.Object