Interface ResultStatisticsProvider
-
- All Known Subinterfaces:
BuildResultsSummary,ChainResultsSummary,ImmutableChainResultsSummary,ImmutableResultsSummary,MutableBuildKeyResultsSummary,ResultsSummary,TestCaseResultStatisticsProvider
- All Known Implementing Classes:
AbstractResultsSummary,BaseResultSummary,BuildResultsSummaryImpl,ChainResultsSummaryImpl,ImmutableResultsSummaryImpl,TestCaseResultStatisticsProviderImpl
@PublicApi public interface ResultStatisticsProviderAn abstract interface of "result" objects which is used to draw statistics.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable DategetBuildDate()When the build was executedintgetBuildNumber()Get build numberBuildStategetBuildState()Build state.longgetDuration()Get duration of the build in milliseconds.longgetProcessingDuration()Get processing duration of the build in milliseconds.@NotNull DategetStatDate()When the build was executed.
-
-
-
Method Detail
-
getBuildState
BuildState getBuildState()
Build state.- Returns:
- build state
-
getBuildNumber
int getBuildNumber()
Get build number- Returns:
- build number of the described build
-
getBuildDate
@Nullable @Nullable Date getBuildDate()
When the build was executed- Returns:
- date of build execution or null if build was not executed yet
-
getStatDate
@NotNull @NotNull 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
-
getDuration
long getDuration()
Get duration of the build in milliseconds.- Returns:
- duration of the build in milliseconds
-
getProcessingDuration
long getProcessingDuration()
Get processing duration of the build in milliseconds.- Returns:
- processing duration of the build in milliseconds
-
-