Package com.commercetools.sync.products
Class ProductSyncOptions
- java.lang.Object
-
- com.commercetools.sync.commons.BaseSyncOptions<com.commercetools.api.models.product.ProductProjection,com.commercetools.api.models.product.ProductDraft,com.commercetools.api.models.product.ProductUpdateAction>
-
- com.commercetools.sync.products.ProductSyncOptions
-
public final class ProductSyncOptions extends BaseSyncOptions<com.commercetools.api.models.product.ProductProjection,com.commercetools.api.models.product.ProductDraft,com.commercetools.api.models.product.ProductUpdateAction>
-
-
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.
-
-