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