Interface BuildResultsSummaryManager
-
- All Superinterfaces:
ResultsSummaryManager
- All Known Implementing Classes:
BuildResultsSummaryManagerImpl
@Internal @Deprecated public interface BuildResultsSummaryManager extends ResultsSummaryManager
Deprecated.since 2.7 use ResultsSummaryManager insteadPrimarily manages interactions with theBuildResultsSummary
from the database.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description <T extends ResultsSummary>
TcreateResultsSummary(@Nullable ChainResultsSummary chainResultsSummary, @NotNull BuildContext buildContext, @NotNull Class<T> aClass)
Deprecated.long
getAverageBuildTime(@NotNull ImmutableBuildable buildable, int numberOfResults)
Deprecated.Returns average build duration for given number of builds@NotNull BuildResultsSummary
updateBuildSummaryFromBuildResults(BuildContext buildContext, @NotNull CurrentlyBuilding currentlyBuilding, BuildResults buildResults)
Deprecated.Updates BuildResultsSummary after build is completed.-
Methods inherited from interface com.atlassian.bamboo.resultsummary.ResultsSummaryManager
addVariableContextSnapshotToResultSummary, calculateAndSetDeltaState, calculateQueueDuration, calculateVcsUpdateDuration, cleanPendingLifeCycleState, clearVariablesOnRerunBuild, countResultsWithState, createResultsSummary, findAllBuildResultsNumbers, findBuildResultNumbersRange, findChainResultsWithFormatVersionLessThan, findChainResultsWithJobLabelled, findFirstFailedBuildResultAfter, findFirstFailedBuildResultBetween, findFirstFailedBuildResultBetween, findFirstResultAfter, findFirstSuccessfulBuildResultAfter, findJiraIssuesForPlanKey, findJiraIssuesForResults, findJobKeysFromExistingChainResults, findLastBuildResultBefore, findLastBuildResultBeforeWithTests, findLastFailingBuildResultBefore, findLastFailingBuildResultBefore, findLastResultBefore, findLastResultBefore, findLastResultSummaryWithState, findLastResultSummaryWithState, findLastSuccessfulBuildResultBefore, findLastSuccessfulBuildResultBefore, findMinimumBuildNumberForNLatest, findResultsSummariesByJiraIssues, findResultsSummariesByProjectKey, getAfterSummaries, getAllActiveResultSummariesForPlan, getAllBuildResultSummariesInUnknownState, getAllInProgressResultSummaries, getAllPendingResultSummaries, getAllQueuedResultSummaries, getAnyResultSummary, getAveragePlanExecutionDuration, getBeforeSummaries, getBreakingBuild, getChainStageResultById, getCommitsForUser, getFinalizedResultSummariesForPlan, getFixingBuild, getLastNFailedResultsSummaries, getLastNFailedResultsSummaries, getLastNResultsSummaries, getLastNResultsSummaries, getLastResultsSummary, getLastResultsSummary, getLastSuccessfulResultSummary, getLatestFailedResultSummaries, getLatestResultSummaries, getNeighbouringSummaries, getNeighbouringSummaries, getNumberOfConcurrentlyRunningBuilds, getNumberOfFinalizedResults, getNumberOfFinalizedResults, getNumberOfFinishedResults, getNumberOfResults, getParentResultSummary, getPlanKeysSortedByNumberOfFinalizedResultSummaries, getResultsSummary, getResultsSummary, getResultsSummary, getResultsSummary, getResultsSummary, getResultSummaries, getResultSummariesByChangeSetId, getResultSummariesByChangeSetIdAndRepository, getResultSummariesByChangeSetIds, getResultSummariesByChangeSetIds, getResultSummariesByCheckoutChangesetId, getResultSummariesForExpiry, getResultSummariesForPlan, getResultSummariesForPlanByLifeCycleState, getStageForResult, invalidateLogSize, markResultSummariesForDeletion, moveResultSummaries, postBuildVariableSnapshotUpdate, removeAllOrphanedResultSummaries, removeArtifacts, removeArtifacts, removeBuildLogs, removeBuildLogs, removeBuildLogs, removeBuildLogs, removeMatchingArtifacts, removeMergeResultSummary, removeResultsSummariesForPlan, removeResultSummary, removeResultSummary, removeResultSummary, removeResultSummary, resetResultSummary, saveResultSummary, scrollResultSummaries, scrollResultSummaries, updateLifeCycleState, updateLifeCycleState, updateLifeCycleState, updatePlanCompletedDate, updateProcessingDuration, updateResultSummaryWithBuildChanges, updateVariablesOnContinuedBuild
-
-
-
-
Method Detail
-
updateBuildSummaryFromBuildResults
@NotNull @NotNull BuildResultsSummary updateBuildSummaryFromBuildResults(BuildContext buildContext, @NotNull @NotNull CurrentlyBuilding currentlyBuilding, BuildResults buildResults)
Deprecated.Updates BuildResultsSummary after build is completed. All fiedls are initialized at this moment.- Parameters:
currentlyBuilding
-buildResults
-- Returns:
- updated build result summary
-
getAverageBuildTime
long getAverageBuildTime(@NotNull @NotNull ImmutableBuildable buildable, int numberOfResults)
Deprecated.Returns average build duration for given number of builds- Parameters:
buildable
-numberOfResults
- - How many build results to use in the average. must be greater 0 @return Average build time. 0 if no build found.
-
createResultsSummary
<T extends ResultsSummary> T createResultsSummary(@Nullable @Nullable ChainResultsSummary chainResultsSummary, @NotNull @NotNull BuildContext buildContext, @NotNull @NotNull Class<T> aClass) throws ResultsSummaryCreationException
Deprecated.- Throws:
ResultsSummaryCreationException
-
-