com.atlassian.bamboo.resultsummary
Interface BuildResultsSummary

All Superinterfaces:
BambooObject, java.lang.Comparable<ResultsSummary>, ExtendedBuildResultsSummary, ResultsSummary, ResultStatisticsProvider
All Known Implementing Classes:
BuildResultsSummaryDocument, BuildResultsSummaryForTesting, BuildResultsSummaryImpl

public interface BuildResultsSummary
extends ResultsSummary, ExtendedBuildResultsSummary

An interface which provides a database persisted version of the BuildResults


Method Summary
 java.lang.Long getBuildAgentId()
          The agent Id
 ChainResultsSummary getChainResultsSummary()
          The ChainResultsSummary to which the current BuildResultsSummary is a child of Typically this is the link between a Chain and Job result If the value is null it can be assumed that the result is for a Build
 ExtraBuildResultsData getExtraBuildResultsData()
          Allow access to ExtraBuildResultsData
 FilteredTestResults<TestClassResult> getFilteredTestResults()
          Return a filtered view of all the tests that ran in this build.
 java.util.Collection<ArtifactLink> getProducedArtifactLinks()
          Returns all artifacts produced by this build.
 long getQueueDuration()
          How long build was in the queue (in miliseconds)
 long getVcsUpdateDuration()
          How long checkout take (in miliseconds)
 java.util.Date getVcsUpdateTime()
          When the source syncronisation was kicked off
 void setChainResultsSummary(ChainResultsSummary chainResultSummary)
           
 
Methods inherited from interface com.atlassian.bamboo.resultsummary.ResultsSummary
getArtifactLinks, getArtifactLinksThatExist, getBuildCancelledDate, getBuildCompletedDate, getBuildKey, getBuildResultKey, getBuildTime, getChangesListSummary, getComments, getCommits, getCustomBuildData, getDeltaState, getDuration, getDurationDescription, getFailedTestCount, getFixingJiraIssues, getJiraIssueKeys, getJiraIssues, getLabellings, getLabelNames, getLifeCycleState, getPlan, getPlanCompletedDate, getPlanResultKey, getQueueTime, getReasonSummary, getRelatedJiraIssues, getRelativeBuildDate, getRelativeBuildDate, getRelativeQueueDate, getRelativeQueueDate, getShortReasonSummary, getSkippedCommitsCount, getSubscriptions, getSuccessfulTestCount, getTestResultsSummary, getTestSummary, getTimeToFix, getTriggerReason, getUniqueAuthors, getVcsRevisionKey, hasChanges, hasComments, isActive, isFailed, isFinished, isInProgress, isNotBuilt, isPending, isQueued, isSuccessful, isWaiting, resetTestClassResults, setBuildCancelledDate, setBuildDate, setDeltaState, setDuration, setPlanCompletedDate, setQueueTime, setTestResultsSummary, setTimeToFix, setTriggerReason, setVcsRevisionKey, updateLifeCycleState
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
getId, setId
 
Methods inherited from interface com.atlassian.bamboo.resultsummary.ResultStatisticsProvider
getBuildDate, getBuildNumber, getBuildState, getDurationInSeconds, getStatDate
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getChainResultsSummary

@Nullable
ChainResultsSummary getChainResultsSummary()
The ChainResultsSummary to which the current BuildResultsSummary is a child of Typically this is the link between a Chain and Job result If the value is null it can be assumed that the result is for a Build


setChainResultsSummary

void setChainResultsSummary(@NotNull
                            ChainResultsSummary chainResultSummary)

getProducedArtifactLinks

@NotNull
java.util.Collection<ArtifactLink> getProducedArtifactLinks()
Returns all artifacts produced by this build. Even if the files don't exist

Returns:

getBuildAgentId

java.lang.Long getBuildAgentId()
The agent Id

Specified by:
getBuildAgentId in interface ExtendedBuildResultsSummary
Returns:

getQueueDuration

long getQueueDuration()
How long build was in the queue (in miliseconds)

Returns:

getVcsUpdateTime

@Nullable
java.util.Date getVcsUpdateTime()
When the source syncronisation was kicked off

Returns:

getVcsUpdateDuration

long getVcsUpdateDuration()
How long checkout take (in miliseconds)

Returns:

getFilteredTestResults

@Nullable
FilteredTestResults<TestClassResult> 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

@Nullable
ExtraBuildResultsData getExtraBuildResultsData()
Allow access to ExtraBuildResultsData

Returns:


Copyright © 2011 Atlassian. All Rights Reserved.