public class CategorySyncStatistics extends BaseSyncStatistics
reportMessage| Constructor and Description |
|---|
CategorySyncStatistics() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.util.ArrayList<java.lang.String>> |
getCategoryKeysWithMissingParents() |
java.lang.String |
getReportMessage()
Builds a summary of the category sync statistics instance that looks like the following example:
|
void |
setCategoryKeysWithMissingParents(java.util.Map<java.lang.String,java.util.ArrayList<java.lang.String>> categoryKeysWithMissingParents) |
calculateProcessingTime, getCreated, getFailed, getLatestBatchHumanReadableProcessingTime, getLatestBatchProcessingTimeInDays, getLatestBatchProcessingTimeInHours, getLatestBatchProcessingTimeInMillis, getLatestBatchProcessingTimeInMinutes, getLatestBatchProcessingTimeInSeconds, getProcessed, getUpdated, incrementCreated, incrementCreated, incrementFailed, incrementFailed, incrementProcessed, incrementProcessed, incrementUpdated, incrementUpdated, startTimerpublic java.lang.String getReportMessage()
"Summary: 2 categories were processed in total (0 created, 0 updated and 0 categories failed to sync)."
getReportMessage in class BaseSyncStatisticspublic java.util.Map<java.lang.String,java.util.ArrayList<java.lang.String>> getCategoryKeysWithMissingParents()
public void setCategoryKeysWithMissingParents(@Nonnull
java.util.Map<java.lang.String,java.util.ArrayList<java.lang.String>> categoryKeysWithMissingParents)