Class CartDiscountSyncStatistics
- java.lang.Object
-
- com.commercetools.sync.commons.helpers.BaseSyncStatistics
-
- com.commercetools.sync.cartdiscounts.helpers.CartDiscountSyncStatistics
-
public final class CartDiscountSyncStatistics extends BaseSyncStatistics
-
-
Constructor Summary
Constructors Constructor Description CartDiscountSyncStatistics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getReportMessage()
Builds a summary of the cart discount sync statistics instance that looks like the following example:-
Methods inherited from class com.commercetools.sync.commons.helpers.BaseSyncStatistics
calculateProcessingTime, getCreated, getDefaultReportMessageForResource, getFailed, getLatestBatchHumanReadableProcessingTime, getLatestBatchProcessingTimeInDays, getLatestBatchProcessingTimeInHours, getLatestBatchProcessingTimeInMillis, getLatestBatchProcessingTimeInMinutes, getLatestBatchProcessingTimeInSeconds, getProcessed, getUpdated, incrementCreated, incrementCreated, incrementFailed, incrementFailed, incrementProcessed, incrementProcessed, incrementUpdated, incrementUpdated, startTimer
-
-
-
-
Method Detail
-
getReportMessage
public java.lang.String getReportMessage()
Builds a summary of the cart discount sync statistics instance that looks like the following example:"Summary: 2 cart discounts were processed in total (0 created, 0 updated and 0 failed to sync)."
- Specified by:
getReportMessage
in classBaseSyncStatistics
- Returns:
- a summary message of the cart discount sync statistics instance.
-
-