Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.atlassian.bamboo.builder
Interface BuildProgressBar

All Known Implementing Classes:
  BuildProgressBarImpl

    public interface BuildProgressBar

This object encapsulates the bar graph that represents a progress of a given build

Method Summary
`double` | `getPercentageCompleted()` Elapsed time / total time
`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

Method Detail

### isValid

    boolean isValid()

  Returns true iff the ave time is > 0

  Returns:

### isUnderAverageTime

    boolean isUnderAverageTime()

  Returns true if elapse time < ave time

  Returns:
    true if elapse time < ave time

### getPercentageCompleted

    double getPercentageCompleted()

  Elapsed time / total time

  Returns:
    Elapsed time / total time

### getPrettyTimeRemaining

    String getPrettyTimeRemaining()

  Returns the approximate amount of time remaining

### getTotalTimeWidth

    int getTotalTimeWidth()

  Return the width of the "total time" progress bar

  Returns:
    width of bar

### getTimeElpasedWidth

    int getTimeElpasedWidth()

  Return the width of the "elapsed time" progress bar

  Returns:

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006 Atlassian Software Systems. All Rights Reserved.