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