public class

AbstractSubtaskProgressProcessor

extends Object
java.lang.Object
   ↳ com.atlassian.jira.imports.project.taskprogress.AbstractSubtaskProgressProcessor
Known Direct Subclasses

Class Overview

Processes a complete percentage based on the inputs of a subtask and its progress.

Summary

Public Constructors
AbstractSubtaskProgressProcessor(TaskProgressInterval taskProgressInterval, int numEntities)
Public Methods
int getNumEntities()
Protected Methods
long getOverallPercentageComplete(long entityCount)
Gets the percentage taking into account the subtask that this was made with.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public AbstractSubtaskProgressProcessor (TaskProgressInterval taskProgressInterval, int numEntities)

Public Methods

public int getNumEntities ()

Protected Methods

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.