public class CustomObjectSyncUtils
extends java.lang.Object
| Constructor and Description |
|---|
CustomObjectSyncUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
hasIdenticalValue(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 a
CustomObject to the value of a CustomObjectDraft. |
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)
CustomObject to the value of a CustomObjectDraft. It
returns a boolean whether the values are identical or not.oldCustomObject - the CustomObject which should be synced.newCustomObject - the CustomObjectDraft with the new data.