public abstract static class JsonDiff.AbstractDiff extends Object implements JsonDiff.Difference
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDiff(String leftPath,
String rightPath,
JsonObjectLocation leftContext,
JsonObjectLocation rightContext) |
| Modifier and Type | Method and Description |
|---|---|
JsonObjectLocation |
getLeftContext() |
String |
getLeftPath() |
JsonObjectLocation |
getRightContext() |
String |
getRightPath() |
abstract String |
getType() |
void |
mergeToLeft(JsonDiff diff) |
void |
mergeToRight(JsonDiff diff) |
String |
toString() |
protected AbstractDiff(String leftPath, String rightPath, JsonObjectLocation leftContext, JsonObjectLocation rightContext)
public abstract String getType()
getType in interface JsonDiff.Differencepublic String getLeftPath()
getLeftPath in interface JsonDiff.Differencepublic String getRightPath()
getRightPath in interface JsonDiff.Differencepublic JsonObjectLocation getLeftContext()
getLeftContext in interface JsonDiff.Differencepublic JsonObjectLocation getRightContext()
getRightContext in interface JsonDiff.Differencepublic void mergeToRight(JsonDiff diff)
mergeToRight in interface JsonDiff.Differencepublic void mergeToLeft(JsonDiff diff)
mergeToLeft in interface JsonDiff.DifferenceCopyright © 2017. All Rights Reserved.