Interface DifferenceBetweenInstances
- All Superinterfaces:
Difference
,DifferenceBetweenContents
Represents the difference between two datasets.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the content on the left side.Returns the content on the right side.getDeltaTable
(Path tablePath) Returns all table differences.int
Returns the total number of tables with differences.Returns the dataset on the left.Returns the dataset on the right.getNodeDifferenceOnTargetChangeSet
(NodeDifference nodeDifferenceOnSource, DifferenceBetweenHomes targetChangeSet) boolean
isEmpty()
Returnstrue
if there are no differences.toString()
Methods inherited from interface com.orchestranetworks.service.comparison.Difference
isResolvedMode
Methods inherited from interface com.orchestranetworks.service.comparison.DifferenceBetweenContents
collectNodeDifferences, getNodeDifference, getNodeDifferences, getNodeDifferencesSize
-
Method Details
-
getInstanceOnLeft
Adaptation getInstanceOnLeft()Returns the dataset on the left. -
getInstanceOnRight
Adaptation getInstanceOnRight()Returns the dataset on the right. -
getInstanceOnRightName
AdaptationName getInstanceOnRightName() -
getContentOnLeft
Adaptation getContentOnLeft()Description copied from interface:DifferenceBetweenContents
Returns the content on the left side.- Specified by:
getContentOnLeft
in interfaceDifferenceBetweenContents
-
getContentOnRight
Adaptation getContentOnRight()Description copied from interface:DifferenceBetweenContents
Returns the content on the right side.- Specified by:
getContentOnRight
in interfaceDifferenceBetweenContents
-
getDeltaTables
List<DifferenceBetweenTables> getDeltaTables()Returns all table differences.- Returns:
- a
List
ofDifferenceBetweenTables
.
-
getDeltaTablesSize
int getDeltaTablesSize()Returns the total number of tables with differences. -
getDeltaTable
-
toString
String toString() -
isEmpty
boolean isEmpty()Description copied from interface:Difference
Returnstrue
if there are no differences.- Specified by:
isEmpty
in interfaceDifference
- Specified by:
isEmpty
in interfaceDifferenceBetweenContents
-
getNodeDifferenceOnTargetChangeSet
NodeDifference getNodeDifferenceOnTargetChangeSet(NodeDifference nodeDifferenceOnSource, DifferenceBetweenHomes targetChangeSet) - Specified by:
getNodeDifferenceOnTargetChangeSet
in interfaceDifferenceBetweenContents
-