com.atlassian.bamboo.results
Interface BuildResults

All Superinterfaces:
ExtraBuildResultsData
All Known Implementing Classes:
BuildResultsImpl

Deprecated. since 2.6 use BuildResultsSummary instead. Only use if test results are required.

@Deprecated
public interface BuildResults
extends ExtraBuildResultsData

This class has been deprecated and may be removed in 3.0


Method Summary
 void addBuildErrors(java.util.List<java.lang.String> errorMessages)
          Deprecated.  
 void clearBuildErrors()
          Deprecated.  
 BuildResults cloneAsBuildResults(BuildContext buildContext, ReasonForBuild reasonForBuild)
          Deprecated.  
 boolean equals(java.lang.Object o)
          Deprecated.  
 BuildChanges getBuildChanges()
          Deprecated.  
 java.util.Date getBuildCompletedTimeStamp()
          Deprecated.  
 long getBuildDurationInMilliseconds()
          Deprecated.  
 java.lang.String getBuildKey()
          Deprecated.  
 int getBuildNumber()
          Deprecated.  
 java.lang.String getBuildResultsKey()
          Deprecated.  
 BuildResultsSummary getBuildResultsSummary()
          Deprecated. since 2.7 please use {@link ResultsSummaryManager#getResultsSummary) to look up the build result summary instead
 BuildState getBuildState()
          Deprecated.  
 long getBuildTime()
          Deprecated.  
 java.util.Set<Commit> getCommits()
          Deprecated.  
 java.util.Map<java.lang.String,java.lang.String> getCustomBuildData()
          Deprecated. replaced by custom data stored in getBuildResultsSummary()
 java.util.List<TestResults> getFailedTestResults()
          Deprecated. 
 java.lang.String getFullKey()
          Deprecated.  
 BuildResults getNextBuildResults()
          Deprecated.  
 java.lang.String getPrettyBuildTime()
          Deprecated.  
 BuildResults getPreviousBuildResults()
          Deprecated.  
 ReasonForBuild getReasonForBuild()
          Deprecated.  
 java.util.Date getStartTime()
          Deprecated. When was the build was started
 org.apache.commons.lang.time.StopWatch getStopWatch()
          Deprecated.  
 java.util.List<TestResults> getSuccessfulTestResults()
          Deprecated.  
 java.util.Map<java.lang.Long,TestResults> getSuccessfulTestResultsMap()
          Deprecated. Get map of all successful test results.
 TestResultsSummary getTestResults()
          Deprecated. 
 java.util.Set<Author> getUniqueAuthors()
          Deprecated.  
 boolean isCurrentlyQueuedOnly()
          Deprecated.  
 void setBuildChanges(BuildChanges buildChanges)
          Deprecated.  
 void setBuildKey(java.lang.String buildKey)
          Deprecated.  
 void setBuildNumber(int buildNumber)
          Deprecated.  
 void setBuildReturnCode(int buildReturnCode)
          Deprecated.  
 void setBuildState(BuildState buildState)
          Deprecated.  
 void setCustomBuildData(java.util.Map<java.lang.String,java.lang.String> customBuildData)
          Deprecated.  
 void setDurationInMilliseconds(long buildDuration)
          Deprecated.  
 void setFailedTestResults(java.util.List<TestResults> myFailedTestResults)
          Deprecated. 
 void setMyArtifacts(java.util.Map<java.lang.String,Artifact> myArtifacts)
          Deprecated. 
 void setPlanManager(PlanManager planManager)
          Deprecated.  
 void setReasonForBuild(ReasonForBuild reasonForBuild)
          Deprecated.  
 void setStartTime(java.util.Date date)
          Deprecated.  
 void setSuccessfulTestResults(java.util.List<TestResults> mySuccessfulTestResults)
          Deprecated.  
 
Methods inherited from interface com.atlassian.bamboo.results.ExtraBuildResultsData
getBuildErrors, getBuildReturnCode
 

Method Detail

getBuildKey

java.lang.String getBuildKey()
Deprecated. 

getFullKey

java.lang.String getFullKey()
Deprecated. 

getBuildResultsSummary

@Deprecated
BuildResultsSummary getBuildResultsSummary()
Deprecated. since 2.7 please use {@link ResultsSummaryManager#getResultsSummary) to look up the build result summary instead

Returns:

getBuildCompletedTimeStamp

java.util.Date getBuildCompletedTimeStamp()
Deprecated. 

setDurationInMilliseconds

void setDurationInMilliseconds(long buildDuration)
Deprecated. 

getBuildDurationInMilliseconds

long getBuildDurationInMilliseconds()
Deprecated. 

setBuildNumber

void setBuildNumber(int buildNumber)
Deprecated. 

getBuildNumber

int getBuildNumber()
Deprecated. 

getReasonForBuild

ReasonForBuild getReasonForBuild()
Deprecated. 

setReasonForBuild

void setReasonForBuild(ReasonForBuild reasonForBuild)
Deprecated. 

equals

boolean equals(java.lang.Object o)
Deprecated. 
Overrides:
equals in class java.lang.Object

getUniqueAuthors

java.util.Set<Author> getUniqueAuthors()
Deprecated. 

getTestResults

@Deprecated
TestResultsSummary getTestResults()
Deprecated. 


getPreviousBuildResults

BuildResults getPreviousBuildResults()
Deprecated. 

getNextBuildResults

BuildResults getNextBuildResults()
Deprecated. 

setBuildKey

void setBuildKey(java.lang.String buildKey)
Deprecated. 

isCurrentlyQueuedOnly

boolean isCurrentlyQueuedOnly()
Deprecated. 

getStopWatch

org.apache.commons.lang.time.StopWatch getStopWatch()
Deprecated. 

getBuildTime

long getBuildTime()
Deprecated. 

getPrettyBuildTime

java.lang.String getPrettyBuildTime()
Deprecated. 

setPlanManager

void setPlanManager(PlanManager planManager)
Deprecated. 

getBuildResultsKey

java.lang.String getBuildResultsKey()
Deprecated. 

getBuildChanges

BuildChanges getBuildChanges()
Deprecated. 

setBuildChanges

void setBuildChanges(BuildChanges buildChanges)
Deprecated. 

getBuildState

@NotNull
BuildState getBuildState()
Deprecated. 

setBuildState

void setBuildState(@NotNull
                   BuildState buildState)
Deprecated. 

setBuildReturnCode

void setBuildReturnCode(int buildReturnCode)
Deprecated. 

getCustomBuildData

@NotNull
java.util.Map<java.lang.String,java.lang.String> getCustomBuildData()
Deprecated. replaced by custom data stored in getBuildResultsSummary()

Returns a map of string keyed strings for storing arbitrary data

Returns:

addBuildErrors

void addBuildErrors(@Nullable
                    java.util.List<java.lang.String> errorMessages)
Deprecated. 

clearBuildErrors

void clearBuildErrors()
Deprecated. 

cloneAsBuildResults

BuildResults cloneAsBuildResults(BuildContext buildContext,
                                 ReasonForBuild reasonForBuild)
Deprecated. 

getStartTime

@Nullable
java.util.Date getStartTime()
Deprecated. 
When was the build was started

Returns:
Date - when this CurrentBuildResult was generated

setStartTime

void setStartTime(java.util.Date date)
Deprecated. 

getCommits

java.util.Set<Commit> getCommits()
Deprecated. 

setCustomBuildData

void setCustomBuildData(java.util.Map<java.lang.String,java.lang.String> customBuildData)
Deprecated. 

setSuccessfulTestResults

void setSuccessfulTestResults(java.util.List<TestResults> mySuccessfulTestResults)
Deprecated. 

getSuccessfulTestResults

java.util.List<TestResults> getSuccessfulTestResults()
Deprecated. 

getSuccessfulTestResultsMap

java.util.Map<java.lang.Long,TestResults> getSuccessfulTestResultsMap()
Deprecated. 
Get map of all successful test results. Test case id is map key.

Returns:

setFailedTestResults

@Deprecated
void setFailedTestResults(java.util.List<TestResults> myFailedTestResults)
Deprecated. 


getFailedTestResults

@Deprecated
java.util.List<TestResults> getFailedTestResults()
Deprecated. 


setMyArtifacts

@Deprecated
void setMyArtifacts(java.util.Map<java.lang.String,Artifact> myArtifacts)
Deprecated. 



Copyright © 2010 Atlassian. All Rights Reserved.