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(com.commercetools.api.models.custom_object.CustomObject oldCustomObject, com.commercetools.api.models.custom_object.CustomObjectDraft newCustomObject)Compares the value of aCustomObjectto the value of aCustomObjectDraft.
-
-
-
Method Detail
-
hasIdenticalValue
public static boolean hasIdenticalValue(@Nonnull com.commercetools.api.models.custom_object.CustomObject oldCustomObject, @Nonnull com.commercetools.api.models.custom_object.CustomObjectDraft 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.
-
-