Interface DifferenceBetweenHomes
- All Superinterfaces:
Difference
Main class for comparing dataspaces and snapshots.
-
Method Summary
Modifier and TypeMethodDescriptiongetDeltaInstance
(AdaptationName instanceName) For values, returns the differences of the dataset,null
if there are no differences or if dataset only exists on the left or on the right.Returns the list of delta datasets for values.int
Returns the total number of delta datasets for values.getExtraInstanceOnLeft
(AdaptationName adaptationName) Returns the specified extra dataset on the left,null
if there is not such dataset.getExtraInstanceOnRight
(AdaptationName adaptationName) Returns the specified extra dataset on the right,null
if there no such dataset.Returns the extra datasets on the left.int
Returns the total number of extra datasets on the left.Returns the extra datasets on the right.int
Returns the total number of extra datasets on the right.The dataspace or snapshot on the left of the comparison.The dataspace or snapshot on the right of the comparison.boolean
isEmpty()
Returnstrue
if there are no differences.Methods inherited from interface com.orchestranetworks.service.comparison.Difference
isResolvedMode
-
Method Details
-
getHomeOnLeft
AdaptationHome getHomeOnLeft()The dataspace or snapshot on the left of the comparison. -
getHomeOnRight
AdaptationHome getHomeOnRight()The dataspace or snapshot on the right of the comparison. -
getDeltaInstance
For values, returns the differences of the dataset,null
if there are no differences or if dataset only exists on the left or on the right. -
getDeltaInstances
List<DifferenceBetweenInstances> getDeltaInstances()Returns the list of delta datasets for values.- Returns:
- a
List
ofDifferenceBetweenInstances
.
-
getDeltaInstancesSize
int getDeltaInstancesSize()Returns the total number of delta datasets for values. -
getExtraInstancesOnLeft
List<ExtraInstanceOnLeft> getExtraInstancesOnLeft()Returns the extra datasets on the left.- See Also:
-
getExtraInstanceOnLeft
Returns the specified extra dataset on the left,null
if there is not such dataset. -
getExtraInstancesOnLeftSize
int getExtraInstancesOnLeftSize()Returns the total number of extra datasets on the left. -
getExtraInstancesOnRight
List<ExtraInstanceOnRight> getExtraInstancesOnRight()Returns the extra datasets on the right.- See Also:
-
getExtraInstanceOnRight
Returns the specified extra dataset on the right,null
if there no such dataset. -
getExtraInstancesOnRightSize
int getExtraInstancesOnRightSize()Returns the total number of extra datasets on the right. -
isEmpty
boolean isEmpty()Description copied from interface:Difference
Returnstrue
if there are no differences.- Specified by:
isEmpty
in interfaceDifference
-