com.atlassian.bamboo.resultsummary
Interface BuildResultsSummary

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

public interface BuildResultsSummary
extends ResultsSummary, ExtendedBuildResultsSummary

An interface which provides a database persisted version of the BuildResults


Method Summary
 ChainResultsSummary getChainResultsSummary()
          The ChainResultsSummary to which the current BuildResultsSummary is a child of Typically this is the link between a Chain and Job result
 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, getBuildAgentId, getBuildCancelledDate, getBuildCompletedDate, getBuildKey, getBuildResultKey, getBuildTime, getChangesListSummary, getComments, getCommentsToDisplay, getCommits, getCustomBuildData, getDeltaState, getDuration, getDurationDescription, getFixingJiraIssues, getJiraIssueKeys, getJiraIssues, getLabellings, getLabelNames, getLifeCycleState, getManuallyOverriddenVariables, getPlan, getPlanCompletedDate, getPlanKey, getPlanResultKey, getProcessingDuration, getProcessingDurationDescription, getQueueTime, getReasonSummary, getRelatedJiraIssues, getRelativeBuildDate, getRelativeBuildDate, getRelativeBuildStartedDate, getRelativeBuildStartedDate, getRelativeQueueDate, getRelativeQueueDate, getRepositoryChangesets, getRestartCount, getShortReasonSummary, getSubscriptions, getSubstitutedVariables, getTestResultsSummary, getTestSummary, getTimeToFix, getTriggerReason, getUniqueAuthors, getVariableContextLogs, hasChanges, hasComments, hasCommentsToDisplay, incrementRestartCount, isActive, isFailed, isFinished, isInProgress, isNotBuilt, isNotRunYet, isPending, isQueued, isSuccessful, isWaiting, resetTestClassResults, setBuildAgentId, setBuildCancelledDate, setBuildCompletedDate, setBuildDate, setDeltaState, setDuration, setPlanCompletedDate, setProcessingDuration, setQueueTime, setTestResultsSummary, setTimeToFix, setTriggerReason, updateLifeCycleState
 
Methods inherited from interface com.atlassian.bamboo.deletion.Deletable
setMarkedForDeletion
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
 
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
 
Methods inherited from interface com.atlassian.bamboo.plan.cache.ImmutableDeletable
isMarkedForDeletion
 
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


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:

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 © 2012 Atlassian. All Rights Reserved.