public class EntityCountTaskProgressProcessor extends AbstractSubtaskProgressProcessor implements TaskProgressProcessor
| Constructor and Description |
|---|
EntityCountTaskProgressProcessor(TaskProgressInterval taskProgressInterval,
String subTaskName,
int numEntities,
I18nHelper i18n) |
| Modifier and Type | Method and Description |
|---|---|
void |
processTaskProgress(String entityTypeName,
int entityTypeCount,
long entityCount,
long currentEntityCount)
Update the task progress in the TaskProgressSink.
|
void |
processTaskProgress(String entityTypeName,
long entityCount) |
getNumEntities, getOverallPercentageCompletepublic EntityCountTaskProgressProcessor(TaskProgressInterval taskProgressInterval, String subTaskName, int numEntities, I18nHelper i18n)
public void processTaskProgress(String entityTypeName, int entityTypeCount, long entityCount, long currentEntityCount)
TaskProgressProcessorprocessTaskProgress in interface TaskProgressProcessorentityTypeName - Name of the entity type that we are currently processing. eg "IssueType"entityTypeCount - Count of the Entity Type that we are currently processing.entityCount - Count of ALL the entities we have seen so far in this file.currentEntityCount - Count of entities just within this entity type.public void processTaskProgress(String entityTypeName, long entityCount)
Copyright © 2002-2023 Atlassian. All Rights Reserved.