public static class JsonDiff.ValueDiff extends JsonDiff.AbstractDiff
| Constructor and Description |
|---|
ValueDiff(String leftPath,
String rightPath,
JsonObjectLocation leftContext,
JsonObjectLocation rightContext,
Object leftValue,
Object rightValue) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getLeftValue() |
Object |
getRightValue() |
String |
getType() |
void |
mergeToLeft(JsonDiff diff) |
void |
mergeToRight(JsonDiff diff) |
String |
toString() |
getLeftContext, getLeftPath, getRightContext, getRightPathpublic ValueDiff(String leftPath, String rightPath, JsonObjectLocation leftContext, JsonObjectLocation rightContext, Object leftValue, Object rightValue)
public String getType()
getType in interface JsonDiff.DifferencegetType in class JsonDiff.AbstractDiffpublic Object getLeftValue()
public Object getRightValue()
public void mergeToRight(JsonDiff diff)
mergeToRight in interface JsonDiff.DifferencemergeToRight in class JsonDiff.AbstractDiffpublic void mergeToLeft(JsonDiff diff)
mergeToLeft in interface JsonDiff.DifferencemergeToLeft in class JsonDiff.AbstractDiffpublic String toString()
toString in class JsonDiff.AbstractDiffCopyright © 2017. All Rights Reserved.