ComparisonController, DifferenceListenerpublic class DetailedDiff extends Diff
RETURN_ACCEPT_DIFFERENCE, RETURN_IGNORE_DIFFERENCE_NODES_IDENTICAL, RETURN_IGNORE_DIFFERENCE_NODES_SIMILAR, RETURN_UPGRADE_DIFFERENCE_NODES_DIFFERENT| Constructor | Description |
|---|---|
DetailedDiff(Diff prototype) |
Create a new instance based on a prototypical Diff instance
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
differenceFound(Difference difference) |
DifferenceListener implementation.
|
java.util.List |
getAllDifferences() |
Obtain all the differences found by this instance
|
boolean |
haltComparison(Difference afterDifference) |
ComparisonController implementation.
|
appendMessage, compare, identical, overrideDifferenceListener, overrideElementQualifier, overrideMatchTracker, similar, skippedComparison, toStringpublic DetailedDiff(Diff prototype)
prototype - the Diff instance for which more detailed difference
information is requiredpublic int differenceFound(Difference difference)
differenceFound in interface DifferenceListenerdifferenceFound in class Diffexpected - actual - control - test - comparingWhat - public boolean haltComparison(Difference afterDifference)
haltComparison in interface ComparisonControllerhaltComparison in class DiffafterDifference - Difference.isRecoverable()public java.util.List getAllDifferences()
differences