Package com.commercetools.sync.products
Class ProductSyncOptions
- java.lang.Object
-
- com.commercetools.sync.commons.BaseSyncOptions<io.sphere.sdk.products.ProductProjection,io.sphere.sdk.products.ProductDraft,io.sphere.sdk.products.Product>
-
- com.commercetools.sync.products.ProductSyncOptions
-
public final class ProductSyncOptions extends BaseSyncOptions<io.sphere.sdk.products.ProductProjection,io.sphere.sdk.products.ProductDraft,io.sphere.sdk.products.Product>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SyncFilter
getSyncFilter()
boolean
shouldEnsurePriceChannels()
-
Methods inherited from class com.commercetools.sync.commons.BaseSyncOptions
applyBeforeCreateCallback, applyBeforeUpdateCallback, applyErrorCallback, applyErrorCallback, applyErrorCallback, applyWarningCallback, getBatchSize, getBeforeCreateCallback, getBeforeUpdateCallback, getCacheSize, getCtpClient, getErrorCallback, getWarningCallback
-
-
-
-
Method Detail
-
getSyncFilter
@Nonnull public SyncFilter getSyncFilter()
Returns theSyncFilter
set tothis
ProductSyncOptions
. It represents either a blacklist or a whitelist for filtering certain update action groups.- Returns:
- the
SyncFilter
set tothis
ProductSyncOptions
.
-
shouldEnsurePriceChannels
public boolean shouldEnsurePriceChannels()
- Returns:
- option that indicates whether the sync process should create price channel of the given key when it doesn't exist in a target project yet.
-
-