public interface DifferenceBetweenContents extends Difference
Modifier and Type | Method and Description |
---|---|
void |
collectNodeDifferences(Collection<? super NodeDifference> aCollection)
Adds node differences to the specified collection.
|
Adaptation |
getContentOnLeft()
Returns the content on the left side.
|
Adaptation |
getContentOnRight()
Returns the content on the right side.
|
NodeDifference |
getNodeDifference(Path aNodePath)
Returns the difference for the specified node,
null
if there is no difference. |
NodeDifference |
getNodeDifferenceOnTargetChangeSet(NodeDifference nodeDifferenceOnSource,
DifferenceBetweenHomes targetChangeSet) |
List<NodeDifference> |
getNodeDifferences()
Returns a
List of NodeDifference . |
int |
getNodeDifferencesSize()
Returns the total number of delta values.
|
boolean |
isEmpty()
Returns
true if there are no differences. |
isResolvedMode
NodeDifference getNodeDifference(Path aNodePath)
null
if there is no difference.
If the specified node is a complex node and not an aggregated list, this method always
returns null
, since differences are only detected at the simple node level
and at the aggregated list level. Additionally, if the specified node is under an aggregated list,
this method also always returns null
List<NodeDifference> getNodeDifferences()
List
of NodeDifference
.int getNodeDifferencesSize()
boolean isEmpty()
Difference
true
if there are no differences.isEmpty
in interface Difference
void collectNodeDifferences(Collection<? super NodeDifference> aCollection)
NodeDifference
Adaptation getContentOnLeft()
Adaptation getContentOnRight()
NodeDifference getNodeDifferenceOnTargetChangeSet(NodeDifference nodeDifferenceOnSource, DifferenceBetweenHomes targetChangeSet)