java.lang.Object | |
↳ | com.atlassian.jira.imports.project.taskprogress.TaskProgressInterval |
Represents an interval of an overall Task Progress bar.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the overall percentage done at which this interval ends.
| |||||||||||
Returns the overall percentage done at which this interval starts.
| |||||||||||
Returns a subinterval of this interval.
| |||||||||||
Returns the TaskProgressSink that this interval is to be used for.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Returns the overall percentage done at which this interval ends.
Returns the overall percentage done at which this interval starts.
Returns a subinterval of this interval. You pass in the start and end percent of the subinterval. A TaskProgressInterval is returned which contains the start and end of the overall progress for the subinterval.
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. |
Returns the TaskProgressSink that this interval is to be used for.