|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.bamboo.builder.BuildProgressBarImpl
public class BuildProgressBarImpl
Constructor Summary | |
---|---|
BuildProgressBarImpl(BuildResults buildResults)
|
Method Summary | |
---|---|
double |
getPercentageCompleted()
Elapsed time / total time |
String |
getPercentageCompletedAsString()
|
String |
getPrettyTimeRemaining()
Returns the approximate amount of time remaining |
int |
getTimeElpasedWidth()
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BuildProgressBarImpl(BuildResults buildResults)
Method Detail |
---|
public boolean isValid()
BuildProgressBar
isValid
in interface BuildProgressBar
public boolean isUnderAverageTime()
BuildProgressBar
isUnderAverageTime
in interface BuildProgressBar
public double getPercentageCompleted()
BuildProgressBar
getPercentageCompleted
in interface BuildProgressBar
public String getPrettyTimeRemaining()
BuildProgressBar
getPrettyTimeRemaining
in interface BuildProgressBar
public String getPercentageCompletedAsString()
public int getTotalTimeWidth()
BuildProgressBar
getTotalTimeWidth
in interface BuildProgressBar
public int getTimeElpasedWidth()
BuildProgressBar
getTimeElpasedWidth
in interface BuildProgressBar
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |