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