|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProgressBar
This object encapsulates the bar graph that represents a progress of a given build
Method Summary | |
---|---|
long |
getEstimatedDuration()
Returns prospected duration of a task. |
double |
getPercentageCompleted()
Elapsed time / total time |
java.lang.String |
getPercentageCompletedAsString()
|
java.lang.String |
getPrettyTimeRemaining()
|
java.lang.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 |
Method Detail |
---|
boolean isValid()
boolean isUnderAverageTime()
double getPercentageCompleted()
java.lang.String getPrettyTimeRemaining()
java.lang.String getPrettyTimeRemaining(boolean isLong)
isLong
- true if you want the long-winded version, false if you want the short version
int getTotalTimeWidth()
int getTimeElapsedWidth()
long getEstimatedDuration()
java.lang.String getPercentageCompletedAsString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |