Class AbstractSubtaskProgressProcessor
java.lang.Object
com.atlassian.jira.imports.project.taskprogress.AbstractSubtaskProgressProcessor
- Direct Known Subclasses:
EntityCountTaskProgressProcessor
Processes a complete percentage based on the inputs of a subtask and its progress.
- Since:
- v3.13
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractSubtaskProgressProcessor(TaskProgressInterval taskProgressInterval, int numEntities) -
Method Summary
Modifier and TypeMethodDescriptionintprotected longgetOverallPercentageComplete(long entityCount) Gets the percentage taking into account the subtask that this was made with.
-
Constructor Details
-
AbstractSubtaskProgressProcessor
-
-
Method Details
-
getNumEntities
public int getNumEntities() -
getOverallPercentageComplete
protected long getOverallPercentageComplete(long entityCount) Gets the percentage taking into account the subtask that this was made with.- Parameters:
entityCount- the current entity count.- Returns:
- the overall percentage that can be used to make progress on a task progress bean.
-