Class ExportDataMapDiffCalculator
java.lang.Object
com.atlassian.bamboo.configuration.external.helpers.ExportDataMapDiffCalculator
-
Method Summary
Modifier and TypeMethodDescriptionReturn all keys from the left that are not included in right or have different value The rules are: an object from left is skipped if corresponding object in right exists and is equal otherwise, if object in left is single value or list or the type in right is different, the value from left is added to the result if object is a map in both arguments, a result of subtract(left.get(key), right.get(key) is added to the result
-
Method Details
-
subtract
Return all keys from the left that are not included in right or have different value The rules are: an object from left is skipped if corresponding object in right exists and is equal otherwise, if object in left is single value or list or the type in right is different, the value from left is added to the result if object is a map in both arguments, a result of subtract(left.get(key), right.get(key) is added to the result- Parameters:
left
-right
-- Returns:
-