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,nullif there are no differences or if dataset only exists on the left or on the right.Returns the list of delta datasets for values.intReturns the total number of delta datasets for values.getExtraInstanceOnLeft(AdaptationName adaptationName) Returns the specified extra dataset on the left,nullif there is not such dataset.getExtraInstanceOnRight(AdaptationName adaptationName) Returns the specified extra dataset on the right,nullif there no such dataset.Returns the extra datasets on the left.intReturns the total number of extra datasets on the left.Returns the extra datasets on the right.intReturns 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.booleanisEmpty()Returnstrueif 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,nullif 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
ListofDifferenceBetweenInstances.
-
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,nullif 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,nullif there no such dataset. -
getExtraInstancesOnRightSize
int getExtraInstancesOnRightSize()Returns the total number of extra datasets on the right. -
isEmpty
boolean isEmpty()Description copied from interface:DifferenceReturnstrueif there are no differences.- Specified by:
isEmptyin interfaceDifference
-