|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.imports.project.taskprogress.TaskProgressInterval
public class TaskProgressInterval
Represents an interval of an overall Task Progress bar.
Constructor Summary | |
---|---|
TaskProgressInterval(TaskProgressSink taskProgressSink,
int startPercent,
int endPercent)
|
Method Summary | |
---|---|
int |
getEndPercent()
Returns the overall percentage done at which this interval ends. |
int |
getStartPercent()
Returns the overall percentage done at which this interval starts. |
TaskProgressInterval |
getSubInterval(int subIntervalStartPercent,
int subIntervalEndPercent)
Returns a subinterval of this interval. |
TaskProgressSink |
getTaskProgressSink()
Returns the TaskProgressSink that this interval is to be used for. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TaskProgressInterval(TaskProgressSink taskProgressSink, int startPercent, int endPercent)
Method Detail |
---|
public TaskProgressInterval getSubInterval(int subIntervalStartPercent, int subIntervalEndPercent)
eg If the parent interval runs from 20% - 60%, and we ask for a sub interval that runs from 25% - 50% of its parent, then the returned TaskProgressInterval would start at 30% and end at 40%.
subIntervalStartPercent
- The start percent of the sub interval within the parent interval.subIntervalEndPercent
- The end percent of the sub interval within the parent interval.
public int getStartPercent()
public int getEndPercent()
public TaskProgressSink getTaskProgressSink()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |