@Internal @Deprecated public interface BuildResultsSummaryManager extends ResultsSummaryManager
BuildResultsSummary
from the database.Modifier and Type | Method and Description |
---|---|
<T extends ResultsSummary> |
createResultsSummary(ChainResultsSummary chainResultsSummary,
BuildContext buildContext,
Class<T> aClass)
Deprecated.
|
long |
getAverageBuildTime(ImmutableBuildable buildable,
int numberOfResults)
Deprecated.
Returns average build duration for given number of builds
|
BuildResultsSummary |
updateBuildSummaryFromBuildResults(BuildContext buildContext,
CurrentlyBuilding currentlyBuilding,
BuildResults buildResults)
Deprecated.
Updates BuildResultsSummary after build is completed.
|
addVariableContextSnapshotToResultSummary, calculateAndSetDeltaState, calculateQueueDuration, calculateVcsUpdateDuration, cleanPendingLifeCycleStateNewTx, clearVariablesOnRerunBuild, countResultsWithState, createResultsSummary, findAllBuildResultsNumbers, findBuildResultNumbersRange, findChainResultsWithFormatVersionLessThan, findChainResultsWithJobLabelled, findFirstFailedBuildResultAfter, findFirstFailedBuildResultBetween, findFirstFailedBuildResultBetween, findFirstResultAfter, findFirstSuccessfulBuildResultAfter, findJiraIssuesForPlanKey, findJiraIssuesForResults, findJobKeysFromExistingChainResults, findLastBuildResultBefore, findLastBuildResultBeforeWithTests, findLastFailingBuildResultBefore, findLastFailingBuildResultBefore, findLastResultBefore, findLastResultBefore, findLastResultSummaryWithState, findLastSuccessfulBuildResultBefore, findLastSuccessfulBuildResultBefore, findResultsSummariesByJiraIssues, findResultsSummariesByProjectKey, getAfterSummaries, getAllActiveResultSummariesForPlan, getAllBuildResultSummariesInUnknownState, getAllInProgressResultSummaries, getAllPendingResultSummaries, getAllQueuedResultSummaries, getAnyResultSummary, getAveragePlanExecutionDuration, getBeforeSummaries, getBreakingBuild, getChainStageResultById, getCommitsForUser, getFinalizedResultSummariesForPlan, getFixingBuild, getLastNFailedResultsSummaries, getLastNResultsSummaries, 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, logSubstitutedVariables, logVariablesForSubstitution, markResultSummariesForDeletion, moveResultSummaries, postBuildVariableSnapshotUpdate, removeAllOrphanedResultSummaries, removeArtifacts, removeArtifacts, removeBuildLogs, removeBuildLogs, removeBuildLogs, removeBuildLogs, removeMatchingArtifacts, removeMergeResultSummary, removeResultsSummariesForPlan, removeResultSummary, removeResultSummary, removeResultSummary, removeResultSummary, resetResultSummary, saveResultSummary, scrollResultSummaries, scrollResultSummaries, updateLifeCycleState, updateLifeCycleState, updatePlanCompletedDate, updateProcessingDuration, updateResultSummaryWithBuildChanges, updateVariablesOnContinuedBuild
@NotNull BuildResultsSummary updateBuildSummaryFromBuildResults(BuildContext buildContext, @NotNull CurrentlyBuilding currentlyBuilding, BuildResults buildResults)
currentlyBuilding
- buildResults
- long getAverageBuildTime(@NotNull ImmutableBuildable 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.<T extends ResultsSummary> T createResultsSummary(@Nullable ChainResultsSummary chainResultsSummary, @NotNull BuildContext buildContext, @NotNull Class<T> aClass) throws ResultsSummaryCreationException
ResultsSummaryCreationException
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.