Interface BuildResultsSummary
- All Superinterfaces:
BambooCustomDataAware,BambooIdProvider,BambooObject,Comparable<ImmutableResultsSummary>,Deletable,ImmutableDeletable,ImmutableResultsSummary,PlanResultKeyProvider,ResultsSummary,ResultStatisticsProvider
- All Known Implementing Classes:
BuildResultsSummaryImpl
An interface which provides a database persisted version of the
BuildResults-
Field Summary
Fields inherited from interface com.atlassian.bamboo.resultsummary.ImmutableResultsSummary
CUSTOM_DATA_BUILD_KEY -
Method Summary
Modifier and TypeMethodDescriptionvoidRemove all result variables related to this result.@Nullable ChainResultsSummaryTheChainResultsSummaryto which the currentBuildResultsSummaryis a child of Typically this is the link between aChainandJobresult@Nullable ExtraBuildResultsDataAllow access toExtraBuildResultsData@Nullable FilteredTestResults<TestClassResult>Return a filtered view of all the tests that ran in this build.@NotNull Collection<ArtifactLink>Returns all artifacts produced by this build.longHow long build was in the queue (in miliseconds)@NotNull Iterable<VariableContextSnapshot>Get state of result variables produced by this result.longHow long checkout take (in miliseconds)@Nullable DateWhen the source syncronisation was kicked offvoidsetChainResultsSummary(@NotNull ChainResultsSummary chainResultSummary) Methods inherited from interface com.atlassian.bamboo.core.BambooCustomDataAware
updateCustomDataEntryMethods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getIdMethods inherited from interface com.atlassian.bamboo.core.BambooObject
setIdMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.atlassian.bamboo.deletion.Deletable
setMarkedForDeletionMethods inherited from interface com.atlassian.bamboo.plan.cache.ImmutableDeletable
isMarkedForDeletionMethods inherited from interface com.atlassian.bamboo.resultsummary.ImmutableResultsSummary
getArtifactLinks, getArtifactLinksThatExist, getBuildAgentId, getBuildAgentType, getBuildCancelledDate, getBuildCompletedDate, getBuildTime, getChangesListSummary, getCommits, getCustomBuildData, getDeltaState, getDuration, getDurationDescription, getFixingJiraIssues, getFullPlanName, getImmutableChain, getJiraIssueKeys, getJiraIssues, getLabellings, getLabelNames, getLifeCycleState, getLogSize, getManuallyOverriddenVariables, getPlanIfExists, getPlanKey, getPlanName, getPlanResultKey, getProcessingDuration, getProcessingDurationDescription, getQueueTime, getReasonSummary, getRelatedJiraIssues, getRelativeBuildDate, getRelativeBuildDate, getRelativeBuildStartedDate, getRelativeBuildStartedDate, getRelativeQueueDate, getRelativeQueueDate, getRepositoryChangesets, getRestartCount, getShortReasonSummary, getSubscriptions, getSubstitutedVariables, getTestResultsSummary, getTestSummary, getTimeToFix, getTriggerReason, getUniqueAuthors, getVariableContextLogs, hasChanges, isActive, isCustomBuild, isFailed, isFinalized, isFinished, isInProgress, isNotBuilt, isNotRunYet, isOnceOff, isPending, isQueued, isRebuild, isSuccessful, isWaitingMethods inherited from interface com.atlassian.bamboo.plan.PlanResultKeyProvider
getPlanResultKeyMethods inherited from interface com.atlassian.bamboo.resultsummary.ResultsSummary
addVariableContextItem, getBuildKey, getBuildResultKey, getFormatVersion, getImmutablePlan, getSubstitutedVariablesEncrypted, getVariableContextBaselineId, getVariableContextLogsEncrypted, incrementRestartCount, resetTestClassResults, setBuildAgentId, setBuildAgentType, setBuildCancelledDate, setBuildCompletedDate, setBuildDate, setCustomBuild, setDeltaState, setDuration, setLogSize, setOnceOff, setProcessingDuration, setQueueTime, setRebuild, setRestartCount, setTestResultsSummary, setTimeToFix, setTriggerReason, updateFormatVersion, updateLifeCycleStateMethods inherited from interface com.atlassian.bamboo.resultsummary.ResultStatisticsProvider
getBuildDate, getBuildNumber, getBuildState, getStatDate
-
Method Details
-
getChainResultsSummary
TheChainResultsSummaryto which the currentBuildResultsSummaryis a child of Typically this is the link between aChainandJobresult -
setChainResultsSummary
-
getProducedArtifactLinks
Returns all artifacts produced by this build. Even if the files don't exist- Returns:
-
getQueueDuration
long getQueueDuration()How long build was in the queue (in miliseconds)- Returns:
-
getVcsUpdateTime
When the source syncronisation was kicked off- Returns:
-
getVcsUpdateDuration
long getVcsUpdateDuration()How long checkout take (in miliseconds)- Returns:
-
getFilteredTestResults
Return a filtered view of all the tests that ran in this build. Provides some degree of caching but is still relatively intensive.- Returns:
- a filtered view of all the tests ran in this build. Null if the builds hasn't finished yet.
-
getExtraBuildResultsData
Allow access toExtraBuildResultsData- Returns:
-
getResultVariables
Get state of result variables produced by this result. -
clearResultVariables
void clearResultVariables()Remove all result variables related to this result.
-