com.atlassian.bamboo.resultsummary
Interface ResultStatisticsProvider

All Known Subinterfaces:
BuildResultsSummary, ChainResultsSummary, ExtendedBuildResultsSummary, MutableBuildKeyResultsSummary, ResultsSummary, TestCaseResultStatisticsProvider
All Known Implementing Classes:
AbstractResultsSummary, BuildResultsSummaryDocument, BuildResultsSummaryForTesting, BuildResultsSummaryImpl, ChainResultsSummaryImpl, TestCaseResultStatisticsProviderImpl

public interface ResultStatisticsProvider

An abstractized interface of "result" objects which is used to draw statistics.


Method Summary
 java.util.Date getBuildDate()
          When the build was executed
 int getBuildNumber()
           
 BuildState getBuildState()
           
 double getDurationInSeconds()
           
 java.util.Date getStatDate()
          When the build was executed.
 

Method Detail

getBuildState

BuildState getBuildState()

getBuildNumber

int getBuildNumber()

getBuildDate

@Nullable
java.util.Date getBuildDate()
When the build was executed

Returns:
date of build execution or null if build was not executed yet

getStatDate

@NotNull
java.util.Date getStatDate()
When the build was executed. If build was not completed, queued time is provided instead.

Returns:
date of build execution or queued time if build was not executed or state is unknown

getDurationInSeconds

double getDurationInSeconds()


Copyright © 2011 Atlassian. All Rights Reserved.