|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Deprecated public interface BuildResultsSummaryManager
Primarily manages interactions with the BuildResultsSummary
from the database. Slowly, it will encompass all
methods that deals with the all build results interaction.
Method Summary | ||
---|---|---|
int |
countBuildResultsSummaries()
Deprecated. Returns the number of results saved |
|
int |
countBuildResultsSummariesForAgent(BuildAgent buildAgent)
Deprecated. |
|
int |
countFailedBuildResultsSummariesForAgent(BuildAgent buildAgent)
Deprecated. |
|
|
createResultsSummary(ChainResultsSummary chainResultsSummary,
BuildContext buildContext,
java.lang.Class<T> aClass)
Deprecated. |
|
long |
getAverageBuildTime(Buildable buildable,
int numberOfResults)
Deprecated. Returns average build duration for given number of builds |
|
BuildResultsSummary |
getLastBuildForAgent(java.lang.String planKey,
java.lang.Long agentId)
Deprecated. |
|
BuildResultsSummary |
getLastBuildForImageConfiguration(java.lang.String planKey,
ElasticImageConfiguration configuration)
Deprecated. |
|
BuildResultsSummary |
getLastSuccessfulBuildForAgent(java.lang.String planKey,
java.lang.Long agentId)
Deprecated. |
|
BuildResultsSummary |
updateBuildSummaryFromBuildResults(BuildContext buildContext,
CurrentlyBuilding currentlyBuilding,
BuildResults buildResults)
Deprecated. Updates BuildResultsSummary after build is completed. |
Method Detail |
---|
@NotNull BuildResultsSummary updateBuildSummaryFromBuildResults(BuildContext buildContext, CurrentlyBuilding currentlyBuilding, BuildResults buildResults)
currentlyBuilding
- buildResults
-
long getAverageBuildTime(@NotNull Buildable buildable, int numberOfResults)
buildable
- numberOfResults
- - How many build results to use in the average. must be greater 0 @return Average build time. 0 if no build found.int countBuildResultsSummaries()
@Nullable BuildResultsSummary getLastBuildForAgent(@NotNull java.lang.String planKey, @NotNull java.lang.Long agentId)
@Nullable BuildResultsSummary getLastSuccessfulBuildForAgent(@NotNull java.lang.String planKey, @NotNull java.lang.Long agentId)
@Nullable BuildResultsSummary getLastBuildForImageConfiguration(@NotNull java.lang.String planKey, @NotNull ElasticImageConfiguration configuration)
int countBuildResultsSummariesForAgent(@NotNull BuildAgent buildAgent)
int countFailedBuildResultsSummariesForAgent(@NotNull BuildAgent buildAgent)
<T extends ResultsSummary> T createResultsSummary(@Nullable ChainResultsSummary chainResultsSummary, @NotNull BuildContext buildContext, @NotNull java.lang.Class<T> aClass) throws ResultsSummaryCreationException
ResultsSummaryCreationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |