Class CustomObjectSyncUtils
- java.lang.Object
 - 
- com.commercetools.sync.customobjects.utils.CustomObjectSyncUtils
 
 
- 
public class CustomObjectSyncUtils extends java.lang.Object 
- 
- 
Constructor Summary
Constructors Constructor Description CustomObjectSyncUtils() 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanhasIdenticalValue(io.sphere.sdk.customobjects.CustomObject<com.fasterxml.jackson.databind.JsonNode> oldCustomObject, io.sphere.sdk.customobjects.CustomObjectDraft<com.fasterxml.jackson.databind.JsonNode> newCustomObject)Compares the value of aCustomObjectto the value of aCustomObjectDraft. 
 - 
 
- 
- 
Method Detail
- 
hasIdenticalValue
public static boolean hasIdenticalValue(@Nonnull io.sphere.sdk.customobjects.CustomObject<com.fasterxml.jackson.databind.JsonNode> oldCustomObject, @Nonnull io.sphere.sdk.customobjects.CustomObjectDraft<com.fasterxml.jackson.databind.JsonNode> newCustomObject)Compares the value of aCustomObjectto the value of aCustomObjectDraft. It returns a boolean whether the values are identical or not.- Parameters:
 oldCustomObject- theCustomObjectwhich should be synced.newCustomObject- theCustomObjectDraftwith the new data.- Returns:
 - A boolean whether the value of the CustomObject and CustomObjectDraft is identical or not.
 
 
 - 
 
 -