Class ShoppingListSyncStatistics
- java.lang.Object
-
- com.commercetools.sync.commons.helpers.BaseSyncStatistics
-
- com.commercetools.sync.shoppinglists.helpers.ShoppingListSyncStatistics
-
public final class ShoppingListSyncStatistics extends BaseSyncStatistics
-
-
Constructor Summary
Constructors Constructor Description ShoppingListSyncStatistics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getReportMessage()
Builds a summary of the shopping list 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 shopping list sync statistics instance that looks like the following example:"Summary: 2 shopping lists were processed in total (0 created, 0 updated and 0 failed to sync)."
- Specified by:
getReportMessage
in classBaseSyncStatistics
- Returns:
- a summary message of the shopping list sync statistics instance.
-
-