com.atlassian.jira.imports.project.taskprogress
Class AbstractSubtaskProgressProcessor
java.lang.Object
com.atlassian.jira.imports.project.taskprogress.AbstractSubtaskProgressProcessor
- Direct Known Subclasses:
- EntityCountTaskProgressProcessor
public class AbstractSubtaskProgressProcessor
- extends Object
Processes a complete percentage based on the inputs of a subtask and its progress.
- Since:
- v3.13
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSubtaskProgressProcessor
public AbstractSubtaskProgressProcessor(TaskProgressInterval taskProgressInterval,
int numEntities)
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.
Copyright © 2002-2013 Atlassian. All Rights Reserved.