public interface ProgressBar
Modifier and Type | Method and Description |
---|---|
long |
getEstimatedDuration()
Returns prospected duration of a task.
|
double |
getPercentageCompleted()
Elapsed time / total time
|
String |
getPercentageCompletedAsString() |
String |
getPrettyTimeRemaining() |
String |
getPrettyTimeRemaining(boolean isLong) |
int |
getTimeElapsedWidth()
Return the width of the "elapsed time" progress bar
|
int |
getTotalTimeWidth()
Return the width of the "total time" progress bar
|
boolean |
isUnderAverageTime()
Returns true if elapse time < ave time
|
boolean |
isValid()
Returns true iff the ave time is > 0
|
boolean isValid()
boolean isUnderAverageTime()
double getPercentageCompleted()
String getPrettyTimeRemaining()
String getPrettyTimeRemaining(boolean isLong)
isLong
- true if you want the long-winded version, false if you want the short versionint getTotalTimeWidth()
int getTimeElapsedWidth()
long getEstimatedDuration()
String getPercentageCompletedAsString()
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.