public class JsonPatchEdit extends Object implements org.jboss.aerogear.sync.Edit<JsonPatchDiff>
| Modifier and Type | Class and Description |
|---|---|
static class |
JsonPatchEdit.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
checksum() |
long |
clientVersion() |
JsonPatchDiff |
diff() |
boolean |
equals(Object o) |
int |
hashCode() |
long |
serverVersion() |
String |
toString() |
static JsonPatchEdit.Builder |
withChecksum(String checksum) |
static JsonPatchEdit.Builder |
withPatch(com.github.fge.jsonpatch.JsonPatch patch) |
public long clientVersion()
clientVersion in interface org.jboss.aerogear.sync.Edit<JsonPatchDiff>public long serverVersion()
serverVersion in interface org.jboss.aerogear.sync.Edit<JsonPatchDiff>public String checksum()
checksum in interface org.jboss.aerogear.sync.Edit<JsonPatchDiff>public JsonPatchDiff diff()
diff in interface org.jboss.aerogear.sync.Edit<JsonPatchDiff>public static JsonPatchEdit.Builder withPatch(com.github.fge.jsonpatch.JsonPatch patch)
public static JsonPatchEdit.Builder withChecksum(String checksum)
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.